GetMessageThreadHistory constructor

const GetMessageThreadHistory({
  1. required int chatId,
  2. required int messageId,
  3. required int fromMessageId,
  4. required int offset,
  5. required int limit,
})

Returns messages in a message thread of a message. Can be used only if messageProperties.can_get_message_thread == true. Message thread of a channel message is in the channel's linked supergroup. The messages are returned in reverse chronological order (i.e., in order of decreasing message.id). For optimal performance, the number of returned messages is chosen by TDLib

Implementation

const GetMessageThreadHistory({
  required this.chatId,
  required this.messageId,
  required this.fromMessageId,
  required this.offset,
  required this.limit,
});