Skip to main content

phone.createConferenceCall

Create and optionally join a new conference call.

func (c *Client) PhoneCreateConferenceCall(ctx context.Context, request *PhoneCreateConferenceCallRequest) (UpdatesClass, error)

Calling this method

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

res, err := api.PhoneCreateConferenceCall(ctx, &tg.PhoneCreateConferenceCallRequest{
// see Parameters
})
if err != nil {
return err
}
_ = res // UpdatesClass
return nil
})

Parameters

NameTypeRequiredDescription
MutedboolIf set, mute our microphone when joining the call (can only be used if join is set).
VideoStoppedboolIf set, our video stream is disabled (can only be used if join is set).
JoinboolIf set, also join the call, otherwise just create the call link.
RandomIDintyesUnique client message ID required to prevent creation of duplicate group calls.
PublicKeybin.Int256Public key (can only be used if join is set).
Block[]byteInitial blockchain block (can only be used if join is set).
ParamsDataJSONParameters from tgcalls (can only be used if join is set).

Returns

UpdatesClass

References