SearchSecretMessages class

Inheritance

Constructors

SearchSecretMessages({int chatId, String query, int fromSearchId, int limit, dynamic 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. chatId Identifier of the chat in which to search. Specify 0 to search in all secret chats . query Query to search for. If empty, searchChatMessages should be used instead. fromSearchId The identifier from the result of a previous request, use 0 to get results from the last message. limit 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. filter A filter for the content of messages in the search results
SearchSecretMessages.fromJson(Map<String, dynamic> json)
Parse from a json

Properties

chatId int
read / write
constructor String
read / write, inherited
extra ↔ dynamic
read / write
filter ↔ dynamic
read / write
fromSearchId int
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
limit int
read / write
query String
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

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

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited

Constants

CONSTRUCTOR → const String
"searchSecretMessages"