SearchCallMessages class final
SearchCallMessages (searchCallMessages) - TDLib function
Searches for call messages. Returns the results in reverse chronological order (i.e., in order of decreasing message_id). For optimal performance, the number of returned messages is chosen by TDLib.
- offset: Offset of the first entry to return as received from the previous request; use empty string to get the first chunk of results.
- limit: The maximum number of messages to be returned; up to 100. For optimal performance, the number of returned messages is chosen by TDLib and can be smaller than the specified limit.
- onlyMissed: Pass true to search only for messages with missed/declined calls.
FoundMessages is returned on completion.
- Inheritance
-
- Object
- TdFunction
- SearchCallMessages
Constructors
- SearchCallMessages({required String offset, required int limit, required bool onlyMissed})
-
SearchCallMessages (searchCallMessages) - TDLib function
const
Properties
- currentObjectId → String
-
TDLib object type for current class instance
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- limit → int
-
The maximum number of messages to be returned; up to 100. For optimal performance, the number of returned messages is chosen by TDLib and can be smaller than the specified limit
final
- offset → String
-
Offset of the first entry to return as received from the previous request; use empty string to get the first chunk of results
final
- onlyMissed → bool
-
Pass true to search only for messages with missed/declined calls
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{String? offset, int? limit, bool? onlyMissed}) → SearchCallMessages - Copy model with modified properties.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
[dynamic extra]) → Map< String, dynamic> -
Convert model to TDLib JSON format
override
-
toString(
) → String -
Convert model to TDLib JSON format, encoded into String.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- defaultObjectId → const String
- TDLib object type