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
Mutedbool—If set, mute our microphone when joining the call (can only be used if join is set).
VideoStoppedbool—If set, our video stream is disabled (can only be used if join is set).
Joinbool—If set, also join the call, otherwise just create the call link.
RandomIDintyesUnique client message ID required to prevent creation of duplicate group calls.
PublicKeybin.Int256—Public key (can only be used if join is set).
Block[]byte—Initial blockchain block (can only be used if join is set).
ParamsDataJSON—Parameters from tgcalls (can only be used if join is set).

Returns​

UpdatesClass

References​