telegram api method · layer 229 · #55a5bb66

messages.receivedQueue

usable by users

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

nametypedescription
max_qtsintMaximum qts value available at the client

returns

Vector<long>

errors (5)

codeerrordescription
400BUSINESS_CONNECTION_NOT_ALLOWEDThis 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.
400MAX_QTS_INVALIDThe specified max_qts is invalid.
400MSG_WAIT_FAILEDA waiting call returned an error.
401AUTH_KEY_UNREGISTEREDThe specified authorization key is not registered in the system (for example, a PFS temporary key has expired).
500MSG_WAIT_FAILEDA waiting call returned an error.

history

present in layers 8–229

idlayers
#55a5bb668–229