Text messages
parse_mode accepts 'Markdown', 'MarkdownV2', or 'HTML'. You can pass entities or link_preview_options directly instead of relying on parse mode:
reply_to_message_id to reply to a message, message_thread_id for forum topics, and protect_content = True to prevent forwarding and saving.
Inline keyboards
reply_markup accepts a dictionary or a JSON string:
callback_data, Telegram sends a callback query update. Read the callback data from the raw update and acknowledge it with answer_callback_query():
Contacts
vcard is also supported for a full contact card.
Locations
live_period. proximity_alert_radius controls proximity alerts.
Chat actions
send_chat_action() shows a status such as “typing” or “uploading photo” in the chat:
'typing', 'upload_photo', 'upload_video', 'record_voice', 'upload_document', and 'find_location'.
Sending methods return a parsed
Message object. Methods that only confirm success, such as send_chat_action(), return Telegram’s raw result, usually True.