GetChatMessageCount class

Inheritance

Constructors

GetChatMessageCount({int chatId, SearchMessagesFilter filter, bool returnLocal})
Returns approximate number of messages of the specified type in the chat
GetChatMessageCount.fromJson(Map<String, dynamic> json)
Parse from a json

Properties

chatId int
chatId Identifier of the chat in which to count messages
read / write
extra ↔ dynamic
callback sign
read / write
filter SearchMessagesFilter
filter Filter for message content; searchMessagesFilterEmpty is unsupported in this function
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
returnLocal bool
returnLocal If true, returns count that is available locally without sending network requests, returning -1 if the number of messages is unknown
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
'getChatMessageCount'