|
tdlib-obf API
Reference documentation for the public tdlib-obf API, generated from TDLib schemas and public headers
|
#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>
Public Types | |
| using | ReturnType = object_ptr< StartLiveStoryResult > |
| Typedef for the type returned by the function. | |
Public Member Functions | |
| 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 Member Functions inherited from td::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 |
Public Attributes | |
| 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"). | |
Static Public Attributes | |
| static const std::int32_t | ID = 1253467958 |
| Identifier uniquely determining a type of the object. | |
Starts a new live story on behalf of a chat; requires can_post_stories administrator right for channel chats.
Returns object_ptr<StartLiveStoryResult>.
| td::td_api::startLiveStory::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>.
| td::td_api::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_ | ||
| ) |
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 |
Helper function for to_string method. Appends string representation of the object to the storer.
| [in] | s | Storer to which object string representation will be appended. |
| [in] | field_name | Object field_name if applicable. |
Implements td::TlObject.
| int53 td::td_api::startLiveStory::chat_id_ |
| bool td::td_api::startLiveStory::enable_messages_ |
|
static |
| bool td::td_api::startLiveStory::is_rtmp_stream_ |
| int53 td::td_api::startLiveStory::paid_message_star_count_ |
| object_ptr<StoryPrivacySettings> td::td_api::startLiveStory::privacy_settings_ |
| bool td::td_api::startLiveStory::protect_content_ |