Telegram
communityCloud-based messaging platform with bot API for automated interactions, channels, and groups.
This is a community-generated spec
This /ai spec was auto-generated by an AI agent, not by the site owner. It may be incomplete or inaccurate.
POST
/bot{token}/sendMessageSend a message via Bot API
Parameters
textmessage text (stringrequiredchat_idtarget chat ID (integerrequiredparse_modeHTML|Markdown (stringoptionalReturns
ok, result with message_id, date, chatGET
/bot{token}/getUpdatesGet incoming updates for a bot
Parameters
limitmax updates (integeroptionaloffsetupdate offset (integeroptionalReturns
ok, result[] with update_id, messageGET
/bot{token}/getChatGet chat information
Parameters
chat_idchat ID (integerrequiredReturns
id, type, title, username, description, member_count