Layer 224
method Users
phone.sendGroupCallMessage#b1d11410 flags:# call:InputGroupCall random_id:long message:TextWithEntities allow_paid_stars:flags.0?long send_as:flags.1?InputPeer = Updates;

Parameters

Name Type Description
Call InputGroupCall Group call
RandomId long Random ID
Message TextWithEntities Message text
AllowPaidStars flags.0?long Optional allowed paid stars
SendAs flags.1?InputPeer Optional sender peer

Returns

Updates

Gogram Example

// PhoneSendGroupCallMessage - using Params struct
result, err := client.PhoneSendGroupCallMessage(&tg.PhoneSendGroupCallMessageParams{
    Call: &tg.InputGroupCall{},
    RandomId: int64(1234567890),
    Message: &tg.TextWithEntities{},

    // Optional fields:
    // AllowPaidStars: int64(1234567890),
    // SendAs: &tg.InputPeerUser{UserID: int64(777000)},
})
if err != nil {
    // handle error
}
// result is *tg.Updates

Possible Errors

Code Type Description
400 GROUPCALL_INVALID The specified group call is invalid.