Skip to content

GramIO API Reference / gramio/dist / TelegramWebhookInfo

Interface: TelegramWebhookInfo

Defined in: @gramio/types/out/objects.d.ts:129

Describes the current status of a webhook.

Documentation

Properties

PropertyTypeDescriptionDefined in
allowed_updates?("message" | "edited_message" | "channel_post" | "edited_channel_post" | "business_connection" | "business_message" | "edited_business_message" | "deleted_business_messages" | "message_reaction" | "message_reaction_count" | "inline_query" | "chosen_inline_result" | "callback_query" | "shipping_query" | "pre_checkout_query" | "purchased_paid_media" | "poll" | "poll_answer" | "my_chat_member" | "chat_member" | "chat_join_request" | "chat_boost" | "removed_chat_boost")[]Optional. A list of update types the bot is subscribed to. Defaults to all update types except chat_member@gramio/types/out/objects.d.ts:165
has_custom_certificatebooleanTrue, if a custom certificate was provided for webhook certificate checks@gramio/types/out/objects.d.ts:137
ip_address?stringOptional. Currently used webhook IP address@gramio/types/out/objects.d.ts:145
last_error_date?numberOptional. Unix time for the most recent error that happened when trying to deliver an update via webhook@gramio/types/out/objects.d.ts:149
last_error_message?stringOptional. Error message in human-readable format for the most recent error that happened when trying to deliver an update via webhook@gramio/types/out/objects.d.ts:153
last_synchronization_error_date?numberOptional. Unix time of the most recent error that happened when trying to synchronize available updates with Telegram datacenters@gramio/types/out/objects.d.ts:157
max_connections?numberOptional. The maximum allowed number of simultaneous HTTPS connections to the webhook for update delivery@gramio/types/out/objects.d.ts:161
pending_update_countnumberNumber of updates awaiting delivery@gramio/types/out/objects.d.ts:141
urlstringWebhook URL, may be empty if webhook is not set up@gramio/types/out/objects.d.ts:133