Function get_message_embedding_code

Source
pub async fn get_message_embedding_code(
    chat_id: i64,
    message_id: i64,
    for_album: bool,
    client_id: i32,
) -> Result<Text, Error>
Expand description

Returns an HTML code for embedding the message. Available only for messages in supergroups and channels with a username

ยงArguments

  • chat_id - Identifier of the chat to which the message belongs
  • message_id - Identifier of the message
  • for_album - Pass true to return an HTML code for embedding of the whole media album
  • client_id - The client id to send the request to