Inherits Function.
Starts a new live story on behalf of a chat; requires can_post_stories administrator right for channel chats.
Returns object_ptr<StartLiveStoryResult>.
Public Fields | |
| int53 | chat_id_ |
| Identifier of the chat that will start the live story. Pass Saved Messages chat identifier when starting a live story on behalf of the current user, or a channel chat identifier. | |
| object_ptr< StoryPrivacySettings > | privacy_settings_ |
| The privacy settings for the story; ignored for stories posted on behalf of channel chats. | |
| bool | protect_content_ |
| Pass true if the content of the story must be protected from screenshotting. | |
| bool | is_rtmp_stream_ |
| Pass true to create an RTMP stream instead of an ordinary group call. | |
| bool | enable_messages_ |
| Pass true to allow viewers of the story to send messages. | |
| int53 | paid_message_star_count_ |
| The minimum number of Telegram Stars that must be paid by viewers for each sent message to the call; 0-getOption("paid_group_call_message_star_count_max"). | |
Public Types | |
| using | ReturnType = object_ptr< StartLiveStoryResult > |
| Typedef for the type returned by the function. | |
Public Instance Methods | |
| startLiveStory () | |
| startLiveStory (int53 chat_id_, object_ptr< StoryPrivacySettings > &&privacy_settings_, bool protect_content_, bool is_rtmp_stream_, bool enable_messages_, int53 paid_message_star_count_) | |
| void | store (TlStorerToString &s, const char *field_name) const final |
Public Instance Methods inherited from TlObject | |
| virtual void | store (TlStorerUnsafe &s) const |
| virtual void | store (TlStorerCalcLength &s) const |
| TlObject ()=default | |
| TlObject (const TlObject &)=delete | |
| TlObject & | operator= (const TlObject &)=delete |
| TlObject (TlObject &&)=default | |
| TlObject & | operator= (TlObject &&)=default |
| virtual | ~TlObject ()=default |
Static Public Attributes | |
| static const std::int32_t | ID = 1253467958 |
| Identifier uniquely determining a type of the object. | |
| startLiveStory | ( | ) |
Default constructor for a function, which starts a new live story on behalf of a chat; requires can_post_stories administrator right for channel chats.
Returns object_ptr<StartLiveStoryResult>.
| startLiveStory | ( | int53 | chat_id_, |
| object_ptr< StoryPrivacySettings > && | privacy_settings_, | ||
| bool | protect_content_, | ||
| bool | is_rtmp_stream_, | ||
| bool | enable_messages_, | ||
| int53 | paid_message_star_count_ | ||
| ) |
Creates a function, which starts a new live story on behalf of a chat; requires can_post_stories administrator right for channel chats.
Returns object_ptr<StartLiveStoryResult>.
| [in] | chat_id_ | Identifier of the chat that will start the live story. Pass Saved Messages chat identifier when starting a live story on behalf of the current user, or a channel chat identifier. |
| [in] | privacy_settings_ | The privacy settings for the story; ignored for stories posted on behalf of channel chats. |
| [in] | protect_content_ | Pass true if the content of the story must be protected from screenshotting. |
| [in] | is_rtmp_stream_ | Pass true to create an RTMP stream instead of an ordinary group call. |
| [in] | enable_messages_ | Pass true to allow viewers of the story to send messages. |
| [in] | paid_message_star_count_ | The minimum number of Telegram Stars that must be paid by viewers for each sent message to the call; 0-getOption("paid_group_call_message_star_count_max"). |
|
finalvirtual |