Get the number of results that would be found by a messages.search call with the same parameters
Method schema is available as of layer 148. Switch »
Name | Type | Description |
---|---|---|
flags | # | Flags, see TL conditional fields |
peer | InputPeer | Peer where to search |
saved_peer_id | flags.2?InputPeer | Search within the saved message dialog » with this ID. |
top_msg_id | flags.0?int | If set, consider only messages within the specified forum topic |
filters | Vector<MessagesFilter> | Search filters |
Vector<messages.SearchCounter>
Code | Type | Description |
---|---|---|
400 | PEER_ID_INVALID | The provided peer id is invalid. |
The Saved Messages chat allows users to bookmark messages and media: it's a personal cloud storage for any messages or media you may want to send or forward there.
Telegram allows creating forums with multiple distinct topics.
Search for messages.