chat_idinteger | string · requiredget_message_link
Export a t.me/... link for a specific message. Only works on channels and supergroups — basic groups and private chats do not expose message links. Args: chat_id: The channel/supergroup ID or username. message_id: The message ID to export a link for. thread: If True, returns a link that opens the message inside its discussion thread (only meaningful for supergroups with linked discussion).
Read only
Parameters
message_idinteger · requiredthreadboolean · default falseaccountstring · default null