Skip to content

getMessageEmbeddingCode

Function · TDLib 1.8.67 · d1085f9c

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

getMessageEmbeddingCode(
  chat_id: int53,
  message_id: int53,
  for_album: Bool
) → Text

chat_id

int53

Identifier of the chat to which the message belongs

message_id

int53

Identifier of the message

for_album

Bool

Pass true to return an HTML code for embedding of the whole media album