logo

Outgoing Messages

Every send* method follows the same shape: a chat_id saying where the message goes, a reference you choose, and the content itself. Options like reply_to_message_id, to_user_id, caption, and web_page_preview behave the same way across all of them.
Media methods take a file id, not the file. Upload the file first β€” see Uploading Media Files.
Any outgoing message can carry an inline menu, and every one of them is acknowledged with messageAck.

sendTextsendTextπŸ–ΌοΈsendPhotosendVideosendVideosendAudiosendAudiosendVoicesendVoiceπŸ“„sendDocumentπŸ“LocationContactContactInline Menu-Applies to All Outgoing MessagesInline Menu-Applies to All Outgoing MessagesMessage Acknowledgment and Status Tracking OverviewMessage Acknowledgment and Status Tracking Overview
Share