SearchSecretMessages class



SearchSecretMessages({int chatId, String query, String offset, int limit, SearchMessagesFilter filter})
Searches for messages in secret chats. Returns the results in reverse chronological order. For optimal performance the number of returned messages is chosen by the library
SearchSecretMessages.fromJson(Map<String, dynamic> json)
Parse from a json


chatId int
chatId Identifier of the chat in which to search. Specify 0 to search in all secret chats
read / write
extra ↔ dynamic
callback sign
read / write
filter SearchMessagesFilter
filter A filter for message content in the search results
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
limit int
limit The maximum number of messages to be returned; up to 100. Fewer messages may be returned than specified by the limit, even if the end of the message history has not been reached
read / write
offset String
offset Offset of the first entry to return as received from the previous request; use empty string to get first chunk of results
read / write
query String
query Query to search for. If empty, searchChatMessages should be used instead
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited


getConstructor() String
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
toJson() Map<String, dynamic>
toString() String
A string representation of this object. [...]


operator ==(Object other) bool
The equality operator. [...]


CONSTRUCTOR → const String