telegram api method · layer 229 · #55a5bb66
messages.receivedQueue
Confirms receipt of messages in a secret chat by client, cancels push notifications.
The method returns a list of random_ids of messages for which push notifications were cancelled.
definition
messages.receivedQueue#55a5bb66 max_qts:int = Vector<long>;
parameters
| name | type | description |
|---|---|---|
max_qts | int | Maximum qts value available at the client |
returns
Vector<long>
errors (5)
| code | error | description |
|---|---|---|
| 400 | BUSINESS_CONNECTION_NOT_ALLOWED | This method was invoked over a business connection using invokeWithBusinessConnection, but either (1) we're a user, and users cannot invoke methods over a business connection; (2) we're a bot, but business mode was disabled in @botfather or (3); we're a bot, but this method cannot be invoked over a business connection. |
| 400 | MAX_QTS_INVALID | The specified max_qts is invalid. |
| 400 | MSG_WAIT_FAILED | A waiting call returned an error. |
| 401 | AUTH_KEY_UNREGISTERED | The specified authorization key is not registered in the system (for example, a PFS temporary key has expired). |
| 500 | MSG_WAIT_FAILED | A waiting call returned an error. |
history
present in layers 8–229
| id | layers |
|---|---|
| #55a5bb66 | 8–229 |