Layer 220
method Users
messages.reportMessagesDelivery#5a6d7395 flags:# push:flags.0?true peer:InputPeer id:Vector<int> = Bool;

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.

Returns

Bool

Possible Errors

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

Gogram Example

// MessagesReportMessagesDelivery - using Params struct
result, err := client.MessagesReportMessagesDelivery(&tg.MessagesReportMessagesDeliveryParams{
    Peer: &tg.InputPeerUser{UserID: int64(123456789)},
    Id: []int{},

    // Optional fields:
    // Push: true,
})
if err != nil {
    // handle error
}
// result is *tg.Bool