messages.reportMessagesDelivery

Used for Telegram Gateway verification messages »: indicate to the server that one or more messages were received by the client, if requested by the message.report_delivery_until_date flag or the equivalent flag in push notifications.

 Method schema is available as of layer 196. Switch »

Parameters

Name Type Description
flags # Flags, see TL conditional fields
push flags.0?true Must be set if the messages were received from a push notification.
peer InputPeer The peer where the messages were received.
id Vector<int> The IDs of the received messages.

Result

Bool

Only users can use this method

Possible errors

Code Type Description
400 PEER_ID_INVALID The provided peer id is invalid.

Related pages

Handling PUSH-notifications

How to subscribe to and handle PUSH notifications

message

A message