GetChats class

Inheritance

Constructors

GetChats({int offsetOrder, int offsetChatId, int limit})
Returns an ordered list of chats. Chats are sorted by the pair (order, chat_id) in decreasing 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 . For optimal performance the number of returned chats is chosen by the library. offsetOrder Chat order to return chats from . offsetChatId Chat identifier to return chats from. 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
GetChats.fromJson(Map<String, dynamic> json)
Parse from a json

Properties

constructor String
read / write, inherited
extra ↔ dynamic
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
limit int
read / write
offsetChatId int
read / write
offsetOrder int
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
Returns a string representation of this object.
inherited

Operators

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

Constants

CONSTRUCTOR → const String
"getChats"