GetChatMessageCount class

Returns approximate number of messages of the specified type in the chat.

Returns Count.

Inheritance
Available Extensions

Constructors

GetChatMessageCount({required int chat_id, required SearchMessagesFilter filter, required bool return_local, int? extra, int? clientId})
Returns approximate number of messages of the specified type in the chat

Properties

chat_id ↔ int
Identifier of the chat in which to count messages.
read / write
clientId ↔ int?
TDLib client instance identifier, for which the response was received.
read / writeoverride
extra ↔ int?
Request identifier. Must be non-zero.
read / writeoverride
filter ↔ SearchMessagesFilter
Filter for message content; searchMessagesFilterEmpty is unsupported in this function.
read / write
hashCode → int
The hash code for this object.
read-onlyinherited
return_local ↔ bool
Pass true to get the number of messages without sending network requests, or -1 if the number of messages is unknown locally.
read / write
runtimeType → Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
Object to Map serializer
override
toString() → String
A string representation of this object.
override

Operators

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

Static Methods

fromMap(Map<String, dynamic>? _map) → GetChatMessageCount?
Construct from Map.
override

Constants

CONSTRUCTOR → const String
@type
"getChatMessageCount"