SendDocumentMethod

Method to send general files

Members

Variables

caption
string caption;

Document caption

chat_id
TelegramID chat_id;

Unique identifier for the target chat or username of the target channel (in the format "@channelusername")

disable_notification
bool disable_notification;

Send the message silently

document
string document;

File to send

parse_mode
ParseMode parse_mode;

Parse mode of the caption

reply_markup
ReplyMarkup reply_markup;

Additional interface options

reply_to_message_id
int reply_to_message_id;

If the message is a reply, ID of the original message

thumb
string thumb;

Thumbnail of the file sent

See Also

Meta