telegram api method · layer 229 · #48cdc6d8

phone.createGroupCall

usable by users

Create a group call or livestream

definition

phone.createGroupCall#48cdc6d8 flags:# rtmp_stream:flags.2?true peer:InputPeer random_id:int title:flags.0?string schedule_date:flags.1?int = Updates;

parameters

nametypedescription
flags#Flags, see TL conditional fields
rtmp_streamflags.2?trueWhether RTMP stream support should be enabled: only the group/supergroup/channel owner can use this flag.
peerInputPeerAssociate the group call or livestream to the provided group/supergroup/channel
random_idintUnique client message ID required to prevent creation of duplicate group calls
titleflags.0?stringCall title
schedule_dateflags.1?intFor scheduled group call or livestreams, the absolute date when the group call will start

returns

Updates

errors (8)

codeerrordescription
400BUSINESS_CONNECTION_NOT_ALLOWEDThis method was invoked over a business connection using invokeWithBusinessConnection, but either (1) we're a user, and users cannot invoke methods over a business connection; (2) we're a bot, but business mode was disabled in @botfather or (3); we're a bot, but this method cannot be invoked over a business connection.
400CHANNEL_PRIVATEYou haven't joined this channel/supergroup.
400CHAT_ADMIN_REQUIREDYou must be an admin in this chat to do this.
400CREATE_CALL_FAILEDAn error occurred while creating the call.
400GROUPCALL_ALREADY_DISCARDEDThe group call was already discarded.
400PEER_ID_INVALIDThe provided peer id is invalid.
400SCHEDULE_DATE_INVALIDInvalid schedule date provided.
401AUTH_KEY_UNREGISTEREDThe specified authorization key is not registered in the system (for example, a PFS temporary key has expired).

history

present in layers 122–229 · constructor id changed 1×

idlayers
#bd3dabe0122–126
#48cdc6d8127–229