GetForumTopicHistory constructor

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

Returns messages in a topic in a forum supergroup chat or a chat with a bot with topics. 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 GetForumTopicHistory({
  required this.chatId,
  required this.forumTopicId,
  required this.fromMessageId,
  required this.offset,
  required this.limit,
});