GetChatMessagePosition class

Returns approximate 1-based position of a message among messages, which can be found by the specified filter in the chat. Cannot be used in secret chats.

Returns Count.

Inheritance
Available Extensions

Constructors

GetChatMessagePosition({required int chat_id, required int message_id, required SearchMessagesFilter filter, required int message_thread_id, int? extra, int? clientId})
Returns approximate 1-based position of a message among messages, which can be found by the specified filter in the chat. Cannot be used in secret chats

Properties

chat_id ↔ int
Identifier of the chat in which to find message position.
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, searchMessagesFilterUnreadMention, searchMessagesFilterUnreadReaction, and searchMessagesFilterFailedToSend are unsupported in this function.
read / write
hashCode → int
The hash code for this object.
read-onlyinherited
message_id ↔ int
Message identifier.
read / write
message_thread_id ↔ int
If not 0, only messages in the specified thread will be considered; supergroups only.
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) → GetChatMessagePosition?
Construct from Map.
override

Constants

CONSTRUCTOR → const String
@type
"getChatMessagePosition"