Skip to main content

phone.getGroupCallStreamChannels

Get info about RTMP streams in a group call or livestream. This method should be invoked to the same group/channel-related DC used for downloading livestream chunks. As usual, the media DC is preferred, if available.

func (c *Client) PhoneGetGroupCallStreamChannels(ctx context.Context, call InputGroupCallClass) (*PhoneGroupCallStreamChannels, error)

Calling this method

client.Run(ctx, func(ctx context.Context) error {
api := client.API()

res, err := api.PhoneGetGroupCallStreamChannels(ctx, call)
if err != nil {
return err
}
_ = res // *PhoneGroupCallStreamChannels
return nil
})

Parameters

NameTypeRequiredDescription
CallInputGroupCallClassyesGroup call or livestream

Returns

*PhoneGroupCallStreamChannels

Possible errors

CodeTypeDescription
400GROUPCALL_INVALIDThe specified group call is invalid.
400GROUPCALL_JOIN_MISSINGYou haven't joined this group call.

References