ContactsGetTopPeers class

Contacts Get Top Peers.

Return Type: ContactsTopPeersBase. ID: 973478b6.

Inheritance

Constructors

ContactsGetTopPeers({required bool correspondents, required bool botsPm, required bool botsInline, required bool phoneCalls, required bool forwardUsers, required bool forwardChats, required bool groups, required bool channels, required int offset, required int limit, required int hash})
Contacts Get Top Peers constructor.
const
ContactsGetTopPeers.deserialize(BinaryReader reader)
Deserialize.
factory

Properties

botsInline bool
bots_inline: bit 2 of flags.2?true
final
botsPm bool
bots_pm: bit 1 of flags.1?true
final
channels bool
channels: bit 15 of flags.15?true
final
correspondents bool
correspondents: bit 0 of flags.0?true
final
flags int
Flags.
no setter
forwardChats bool
forward_chats: bit 5 of flags.5?true
final
forwardUsers bool
forward_users: bit 4 of flags.4?true
final
groups bool
groups: bit 10 of flags.10?true
final
hash int
Hash.
final
hashCode int
The hash code for this object.
no setterinherited
limit int
Limit.
final
offset int
Offset.
final
phoneCalls bool
phone_calls: bit 3 of flags.3?true
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
serialize(List<int> buffer) → void
Serialize.
override
toJson() Map<String, dynamic>
Converts an object to JSON.
override
toString() String
A string representation of this object.
inherited

Operators

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