Layer 220
method
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

Name Type Description
Pinned flags.2?true
Noforwards flags.4?true
RtmpStream flags.5?true
Peer InputPeer
Caption flags.0?string
Entities Vector<MessageEntity>
PrivacyRules Vector<InputPrivacyRule>
RandomId long
MessagesEnabled flags.6?Bool
SendPaidMessagesStars flags.7?long

Returns

Updates

Gogram Example

// StoriesStartLive - using Params struct
result, err := client.StoriesStartLive(&tg.StoriesStartLiveParams{
    Peer: &tg.InputPeerUser{UserID: int64(123456789)},
    PrivacyRules: []tg.InputPrivacyRule{&tg.InputPrivacyValueAllowAll{}},
    RandomId: int64(0),

    // Optional fields:
    // Pinned: true,
    // Noforwards: true,
    // RtmpStream: true,
    // Caption: "...",
    // ...
})
if err != nil {
    // handle error
}
// result is *tg.Updates