Layer 224
method Users
payments.getGiveawayInfo#f4239425 peer:InputPeer msg_id:int = payments.GiveawayInfo;

Parameters

Name Type Description
Peer InputPeer The peer where the giveaway was posted.
MsgId int Message ID of the message Action Giveaway Launch service message

Gogram Example

// PaymentsGetGiveawayInfo - positional arguments
result, err := client.PaymentsGetGiveawayInfo(&tg.InputPeerUser{UserID: int64(777000)}, 42)
if err != nil {
    // handle error
}
// result is *tg.PaymentsGiveawayInfo

Possible Errors

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