You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 17, 2024. It is now read-only.
{caption,// String, Optionalparse_mode,// String, Optional, Markdown or HTMLdisable_notification,// Boolean, Optionalreply_to_message_id,// Integer, Optionalallow_sending_without_reply,// Boolean, Optionalreply_markup// JSON-serialized object, Optional},{filename,// String, Optional, If uploading from a filecontentType// String, Optional, MIME type of the file}
{caption,// String, Optionalparse_mode,// String, Optional, Markdown or HTMLduration,// Integer, Optionalperformer,// String, Optionaltitle,// String, Optionalthumb,// InputFile or String, Optionaldisable_notification,// Boolean, Optionalreply_to_message_id,// Integer, Optionalallow_sending_without_reply,// Boolean, Optionalreply_markup// JSON-serialized object, Optional},{filename,// String, Optional, If uploading from a filecontentType// String, Optional, MIME type of the file}
bot.sendDocument(chatId, document, [options], [fileOptions]): Send general files.
{thumb,// InputFile or String, Optionalcaption,// String, Optionalparse_mode,// String, Optional, Markdown or HTMLdisable_content_type_detection,// Boolean, Optionaldisable_notification,// Boolean, Optionalreply_to_message_id,// Integer, Optionalallow_sending_without_reply,// Boolean, Optionalreply_markup// JSON-serialized object, Optional},{filename,// String, Optional, If uploading from a filecontentType// String, Optional, MIME type of the file}
bot.sendVideo(chatId, video, [options], [fileOptions]): Send video files.
{duration,// Integer, Optionalwidth,// Integer, Optionalheight,// Integer, Optionalthumb,// InputFile or String, Optionalcaption,// String, Optionalparse_mode,// String, Optional, Markdown or HTMLsupports_streaming,// Boolean, Optionaldisable_notification,// Boolean, Optionalreply_to_message_id,// Integer, Optionalallow_sending_without_reply,// Boolean, Optionalreply_markup// JSON-serialized object, Optional},{filename,// String, Optional, If uploading from a filecontentType// String, Optional, MIME type of the file}
bot.sendAnimation(chatId, animation, [options], [fileOptions]): Send animations (GIF or H.264/MPEG-4 AVC video without sound).
{duration,// Integer, Optionalwidth,// Integer, Optionalheight,// Integer, Optionalthumb,// InputFile or String, Optionalcaption,// String, Optionalparse_mode,// String, Optional, Markdown or HTMLdisable_notification,// Boolean, Optionalreply_to_message_id,// Integer, Optionalallow_sending_without_reply,// Boolean, Optionalreply_markup// JSON-serialized object, Optional},{filename,// String, Optional, If uploading from a filecontentType// String, Optional, MIME type of the file}
{caption,// String, Optionalparse_mode,// String, Optional, Markdown or HTMLduration,// Integer, Optionaldisable_notification,// Boolean, Optionalreply_to_message_id,// Integer, Optionalallow_sending_without_reply,// Boolean, Optionalreply_markup// JSON-serialized object, Optional},{filename,// String, Optional, If uploading from a filecontentType// String, Optional, MIME type of the file}
bot.sendVideoNote(chatId, videoNote, [options], [fileOptions]): Send video notes.
{duration,// Integer, Optionallength,// Integer, Optionalthumb,// InputFile or String, Optionaldisable_notification,// Boolean, Optionalreply_to_message_id,// Integer, Optionalallow_sending_without_reply,// Boolean, Optionalreply_markup// JSON-serialized object, Optional},{filename,// String, Optional, If uploading from a filecontentType// String, Optional, MIME type of the file}
bot.sendMediaGroup(chatId, media, [options]): Send a group of photos or videos as an album.
{disable_notification,// Boolean, Optionalreply_to_message_id,// Integer, Optionalallow_sending_without_reply,// Boolean, Optionalreply_markup// JSON-serialized object, Optional},{filename,// String, Optional, If uploading from a filecontentType// String, Optional, MIME type of the file}
bot.getStickerSet(name): Get information about a sticker set.
{name// String, Required}
bot.uploadStickerFile(userId, pngSticker, [options]): Upload a .png file with a sticker for later use.
{user_id,// Integer, Requiredpng_sticker,// InputFile, Required},{
filename,// String, Optional, If uploading from a file
contentType // String, Optional, MIME type of the file}
bot.createNewStickerSet(userId, name, title, pngSticker, emojis, [options]): Create a new sticker set.
{user_id,// Integer, Requiredname,// String, Requiredtitle,// String, Requiredpng_sticker,// InputFile or String, Requiredemojis,// String, Requiredcontains_masks,// Boolean, Optionalmask_position// MaskPosition, Optional},{filename,// String, Optional, If uploading from a filecontentType// String, Optional, MIME type of the file}
bot.addStickerToSet(userId, name, pngSticker, emojis, [options]): Add a sticker to a set.
{user_id,// Integer, Requiredname,// String, Requiredpng_sticker,// InputFile or String, Requiredemojis,// String, Requiredmask_position// MaskPosition, Optional},{filename,// String, Optional, If uploading from a filecontentType// String, Optional, MIME type of the file}
bot.setStickerPositionInSet(sticker, position, [options]): Move a sticker in a set.
bot.deleteStickerFromSet(sticker, [options]): Delete a sticker from a set.
{sticker// String, Required}
bot.setStickerSetThumb(name, userId, [thumb], [options]): Set the thumbnail of a sticker set.
{name,// String, Requireduser_id,// Integer, Requiredthumb,// InputFile or String, Optional},{
filename,// String, Optional, If uploading from a file
contentType // String, Optional, MIME type of the file}
bot.setWebhook(url, [options]): Specify a URL and receive incoming updates via an outgoing webhook.
{url,// String, Requiredcertificate,// InputFile, Optionalip_address,// String, Optionalmax_connections,// Integer, Optionalallowed_updates,// Array of String, Optionaldrop_pending_updates,// Boolean, Optionalsecret_token// String, Optional},{filename,// String, Optional, If uploading from a filecontentType// String, Optional, MIME type of the file}
bot.deleteWebhook([options]): Remove webhook integration if you decide to switch back to getUpdates.
{drop_pending_updates// Boolean, Optional}
bot.getWebhookInfo(): Get current webhook status.
{}
bot.deleteMessage(chatId, messageId, [options]): Delete a message.
{chat_id,// Integer or String, Requiredmessage_id// Integer, Required}