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 belongsmessage_id- Identifier of the messagefor_album- Pass true to return an HTML code for embedding of the whole media albumclient_id- The client id to send the request to