GetChatHistory constructor
const
GetChatHistory({})
Returns messages in a chat. 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. This is an offline method if only_local is true
Implementation
const GetChatHistory({
required this.chatId,
required this.fromMessageId,
required this.offset,
required this.limit,
required this.onlyLocal,
});