GetChats class

Inheritance

Constructors

GetChats({ChatList chatList, int offsetOrder, int offsetChatId, int limit})
Returns an ordered list of chats in a chat list. Chats are sorted by the pair (chat.position.order, chat.id) in descending order. (For example, to get a list of chats from the beginning, the offset_order should be equal to a biggest signed 64-bit number 9223372036854775807 == 2. For optimal performance the number of returned chats is chosen by the library
GetChats.fromJson(Map<String, dynamic> json)
Parse from a json

Properties

chatList ChatList
chatList The chat list in which to return chats
read / write
extra ↔ dynamic
callback sign
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
limit int
limit The maximum number of chats to be returned. It is possible that fewer chats than the limit are returned even if the end of the list is not reached
read / write
offsetChatId int
offsetChatId Chat identifier to return chats from
read / write
offsetOrder int
offsetOrder Chat order to return chats from
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

getConstructor() String
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
override
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited

Constants

CONSTRUCTOR → const String
'getChats'