get_message_embedding_code


Description:

public async Text get_message_embedding_code (int64 chat_id, int64 message_id, bool for_album) throws TDLibError

Returns an HTML code for embedding the message. Available only if messageProperties.can_get_embedding_code

Parameters:

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