Skip to content

export Interface

MessagePacket ​

Properties ​

animation? : AnimationFilePacket ​

audio? : AudioFilePacket ​

author_signature? : string ​

boost_added? : ChatBoostAdded ​

business_connection_id? : string ​

caption? : string ​

caption_entities? : MessageEntityPayload[] ​

channel_chat_created? : true ​

chat? : ChatPacket ​

chat_background_set? : ChatBackground ​

chat_shared? : ChatShared ​

connected_website? : string ​

contact? : ContactPayload ​

date : number ​

delete_chat_photo? : true ​

dice? : DicePayload ​

document? : DocumentFilePacket ​

edit_date? : number ​

edited? : boolean ​

effect_id? : string ​

entities? : MessageEntityPayload[] ​

external_reply? : ExternalReplyInfo ​

forum_topic_closed? : ForumTopicClosed ​

forum_topic_created? : ForumTopicCreated ​

forum_topic_edited? : ForumTopicEdited ​

forum_topic_reopened? : ForumTopicReopened ​

forward_origin? : MessageOrigin ​

from? : UserPacket ​

game? : GamePacket ​

general_forum_topic_hidden? : GeneralForumTopicHidden ​

general_forum_topic_unhidden? : GeneralForumTopicUnhidden ​

giveaway? : Giveaway ​

giveaway_completed? : GiveawayCompleted ​

giveaway_created? : GiveawayCreated ​

giveaway_winners? : GiveawayWinners ​

group_chat_created? : true ​

has_media_spoiler? : true ​

has_protected_content? : true ​

invoice? : InvoicePacket ​

is_automatic_forward? : true ​

is_from_offline? : true ​

is_topic_message? : true ​

left_chat_member? : UserPacket ​

location? : Location ​

media_group_id? : string ​

message_auto_delete_timer_changed? : MessageAutoDeleteTimerChanged ​

message_id : number ​

message_thread_id? : number ​

migrate_from_chat_id? : number ​

migrate_to_chat_id? : number ​

new_chat_members? : UserPacket[] ​

new_chat_photo? : PhotoSizeFilePacket[] ​

new_chat_title? : string ​

passport_data? : PassportData ​

photo? : PhotoSizeFilePacket[] ​

pinned_message? : InaccessibleMessage ​

poll? : PollPacket ​

proximity_alert_triggered? : ProximityAlertTriggered ​

quote? : TextQuote ​

refunded_payment? : RefundedPaymentPacket ​

reply_markup? : InlineKeyboardMarkup ​

reply_to_message? : Message ​

reply_to_story? : StoryPacket ​

sender_boost_count? : number ​

sender_business_bot? : UserPacket ​

sender_chat? : ChatPacket ​

show_caption_above_media? : true ​

sticker? : StickerFilePacket ​

story? : StoryPacket ​

successful_payment? : SuccessfulPayment ​

supergroup_chat_created? : true ​

text? : string ​

users_shared? : UsersShared ​

venue? : VenuePayload ​

via_bot? : UserPacket ​

video? : VideoFilePacket ​

video_chat_ended? : VideoChatEnded ​

video_chat_participants_invited? : VideoChatParticipantsInvited ​

video_chat_scheduled? : VideoChatScheduled ​

video_chat_started? : VideoChatStarted ​

video_note? : VideoNoteFilePacket ​

voice? : VoiceFilePacket ​

web_app_data? : WebAppData ​

write_access_allowed? : WriteAccessAllowed ​

A modern, powerful library for building your Telegram bots, with seamless support for both JavaScript and Typescript.