GetMessageLink constructor

const GetMessageLink({
  1. required int chatId,
  2. required int messageId,
  3. required int mediaTimestamp,
  4. required bool forAlbum,
  5. required bool forComment,
})

Returns an HTTPS link to a message in a chat. Available only for already sent messages in supergroups and channels, or if message.can_get_media_timestamp_links and a media timestamp link is generated. This is an offline request

Implementation

const GetMessageLink({
  required this.chatId,
  required this.messageId,
  required this.mediaTimestamp,
  required this.forAlbum,
  required this.forComment,
});