GetMessageEmbeddingCode constructor

const GetMessageEmbeddingCode({
  1. required int chatId,
  2. required int messageId,
  3. required bool forAlbum,
})

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

Implementation

const GetMessageEmbeddingCode({
  required this.chatId,
  required this.messageId,
  required this.forAlbum,
});