Integer or String Unique identifier for the target chat or username of the target channel (in the format @channelusername)
InputFile or String File to send. Pass a file_id as String to send a file that exists on the Telegram servers (recommended), pass an HTTP URL as a String for Telegram to get a file from the Internet, or upload a new one using multipart/form-data.
String Optional Document caption (may also be used when resending documents by file_id), 0-200 characters
String Optional Send Markdown or HTML, if you want Telegram apps to show bold, italic, fixed-width text or inline URLs in the media caption.
Boolean Optional Sends the message silently. iOS users will not receive a notification, Android users will receive a notification with no sound.
Integer Optional If the message is a reply, ID of the original message
InlineKeyboardMarkup or ReplyKeyboardMarkup or ReplyKeyboardHide or ForceReply Optional Additional interface options. A JSON-serialized object for an inline keyboard, custom reply keyboard, instructions to hide reply keyboard or to force a reply from the user.
String Optional Document caption (may also be used when resending documents by file_id), 0-200 characters
Integer or String Unique identifier for the target chat or username of the target channel (in the format @channelusername)
Boolean Optional Sends the message silently.
Boolean Optional Sends the message silently. iOS users will not receive a notification, Android users will receive a notification with no sound.
InputFile or String File to send.
InputFile or String File to send. Pass a file_id as String to send a file that exists on the Telegram servers (recommended), pass an HTTP URL as a String for Telegram to get a file from the Internet, or upload a new one using multipart/form-data.
Extract request URL from class name.
Extract request URL from class name.
String Optional Send Markdown or HTML, if you want Telegram apps to show bold, italic, fixed-width text or inline URLs in the media caption.
InlineKeyboardMarkup or ReplyKeyboardMarkup or ReplyKeyboardHide or ForceReply Optional Additional interface options.
InlineKeyboardMarkup or ReplyKeyboardMarkup or ReplyKeyboardHide or ForceReply Optional Additional interface options. A JSON-serialized object for an inline keyboard, custom reply keyboard, instructions to hide reply keyboard or to force a reply from the user.
Integer Optional If the message is a reply, ID of the original message
Use this method to send general files. On success, the sent Message is returned. Bots can currently send files of any type of up to 50 MB in size, this limit may be changed in the future.
Integer or String Unique identifier for the target chat or username of the target channel (in the format @channelusername)
InputFile or String File to send. Pass a file_id as String to send a file that exists on the Telegram servers (recommended), pass an HTTP URL as a String for Telegram to get a file from the Internet, or upload a new one using multipart/form-data.
String Optional Document caption (may also be used when resending documents by file_id), 0-200 characters
String Optional Send Markdown or HTML, if you want Telegram apps to show bold, italic, fixed-width text or inline URLs in the media caption.
Boolean Optional Sends the message silently. iOS users will not receive a notification, Android users will receive a notification with no sound.
Integer Optional If the message is a reply, ID of the original message
InlineKeyboardMarkup or ReplyKeyboardMarkup or ReplyKeyboardHide or ForceReply Optional Additional interface options. A JSON-serialized object for an inline keyboard, custom reply keyboard, instructions to hide reply keyboard or to force a reply from the user.