Skip to content

export Interface

DocumentPayload ​

extends ​

BaseMessagePayload

Properties ​

allow_paid_broadcast? : boolean ​

business_connection_id? : string ​

caption? : string ​

caption_entities? : MessageEntities | MessageEntityPayload[] ​

chat_id? : string | number ​

disable_notification? : boolean ​

duration? : number ​

has_spoiler? : boolean ​

height? : number ​

message_effect_id? : string ​

message_thread_id? : number ​

parse_mode? : string ​

protect_content? : boolean ​

reply_markup? : InlineKeyboardMarkup | ReplyKeyboardMarkup | ReplyKeyboardRemove | ForceReply ​

reply_parameters? : ReplyParameters ​

show_caption_above_media? : boolean ​

supports_streaming? : boolean ​

thumbnail? : InputFile ​

video : InputFile ​

width? : number ​

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