View Source ExTDLib.Method.GetMessageEmbeddingCode (ExTDLib v0.0.4)

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

NameTypeDescription
chat_idstringIdentifier of the chat to which the message belongs.
message_idstringIdentifier of the message.
for_albumboolPass true to return an HTML code for embedding of the whole media album.

More details on telegram's documentation.