GetChatSparseMessagePositions class
Returns sparse positions of messages of the specified type in the chat to be used for shared media scroll implementation. Returns the results in reverse chronological order (i.e., in order of decreasing message_id)..
Returns MessagePositions.
- Inheritance
- Available Extensions
Constructors
- GetChatSparseMessagePositions({required int chat_id, required SearchMessagesFilter filter, required int from_message_id, required int limit, int? extra, int? clientId})
- Returns sparse positions of messages of the specified type in the chat to be used for shared media scroll implementation. Returns the results in reverse chronological order (i.e., in order of decreasing message_id).
Properties
- chat_id ↔ int
-
Identifier of the chat in which to return information about message positions.
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. Filters searchMessagesFilterEmpty, searchMessagesFilterMention, searchMessagesFilterUnreadMention, and searchMessagesFilterUnreadReaction are unsupported in this function.
read / write
- from_message_id ↔ int
-
The message identifier from which to return information about message positions.
read / write
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- limit ↔ int
-
The expected number of message positions to be returned; 50-2000. A smaller number of positions can be returned, if there are not enough appropriate messages.
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) → GetChatSparseMessagePositions? -
Construct from Map.
override
Constants
- CONSTRUCTOR → const String
-
@type
"getChatSparseMessagePositions"