telegram api method · layer 229 · #d069ccde

stories.startLive

usable by users

definition

stories.startLive#d069ccde flags:# pinned:flags.2?true noforwards:flags.4?true rtmp_stream:flags.5?true peer:InputPeer caption:flags.0?string entities:flags.1?Vector<MessageEntity> privacy_rules:Vector<InputPrivacyRule> random_id:long messages_enabled:flags.6?Bool send_paid_messages_stars:flags.7?long = Updates;

parameters

nametypedescription
flags#Flags, see TL conditional fields
pinnedflags.2?true
noforwardsflags.4?true
rtmp_streamflags.5?true
peerInputPeer
captionflags.0?string
entitiesflags.1?Vector<MessageEntity>Message entities for styled text
privacy_rulesVector<InputPrivacyRule>
random_idlong
messages_enabledflags.6?Bool
send_paid_messages_starsflags.7?long

returns

Updates

errors (6)

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_MONOFORUM_UNSUPPORTEDMonoforums do not support this feature.
400CHAT_ADMIN_REQUIREDYou must be an admin in this chat to do this.
400PEER_ID_INVALIDThe provided peer id is invalid.
400STORY_LIVE_ALREADY_%dThis peer already has an active live story, and its ID is equal to %d.
401AUTH_KEY_UNREGISTEREDThe specified authorization key is not registered in the system (for example, a PFS temporary key has expired).

history

present in layers 217–229

idlayers
#d069ccde217–229