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.

Layer 223

boolFalse#bc799737 = Bool;
boolTrue#997275b5 = Bool;
---functions---
messages.reportMessagesDelivery#5a6d7395 flags:# push:flags.0?true peer:InputPeer id:Vector<int> = Bool;

Parameters #

NameTypeDescription
flags#Flags, see TL conditional fields
pushflags.0?trueMust be set if the messages were received from a push notification.
peerInputPeerThe peer where the messages were received.
idVector<int>The IDs of the received messages.

Result #

Bool

Only users can use this method #

Possible errors #

CodeTypeDescription
400PEER_ID_INVALIDThe provided peer id is invalid.

Handling PUSH-notifications #

How to subscribe to and handle PUSH notifications

message #

A message