PostStory
Object Hierarchy:
Description:
public class PostStory :
TDObject
Posts a new story on behalf of a chat; requires can_post_stories right for supergroup and channel chats. Returns a temporary story
Content:
Properties:
- public int32 active_period { get; set construct; }
Period after which the story is moved to archive, in seconds; must be
one of 6 * 3600, 12 * 3600, 86400, or 2 * 86400 for Telegram Premium users, and 86400 otherwise
- public InputStoryAreas areas { get; set construct; }
Clickable rectangle areas to be shown on the story media; pass null if
none
- public FormattedText caption { get; set construct; }
Story caption; pass null to use an empty caption; 0-
getOption("story_caption_length_max") characters; can have entities only if getOption("can_use_text_entities_in_story_caption")
- public int64 chat_id { get; set construct; }
Identifier of the chat that will post the story. Pass Saved Messages
chat identifier when posting a story on behalf of the current user
- public InputStoryContent content { get; set construct; }
Content of the story
- public StoryFullId from_story_full_id { get; set construct; }
Full identifier of the original story, which content was used to
create the story; pass null if the story isn't repost of another story
- public bool is_posted_to_chat_page { get; set construct; }
Pass true to keep the story accessible after expiration
- public StoryPrivacySettings privacy_settings { get; set construct; }
The privacy settings for the story; ignored for stories posted on
behalf of supergroup and channel chats
- public bool protect_content { get; set construct; }
Pass true if the content of the story must be protected from
forwarding and screenshotting
Creation methods:
Inherited Members:
All known members inherited from class GLib.Object
- @get
- @new
- @ref
- @set
- add_toggle_ref
- add_weak_pointer
- bind_property
- connect
- constructed
- disconnect
- dispose
- dup_data
- dup_qdata
- force_floating
- freeze_notify
- get_class
- get_data
- get_property
- get_qdata
- get_type
- getv
- interface_find_property
- interface_install_property
- interface_list_properties
- is_floating
- new_valist
- new_with_properties
- newv
- notify
- notify_property
- ref_count
- ref_sink
- remove_toggle_ref
- remove_weak_pointer
- replace_data
- replace_qdata
- set_data
- set_data_full
- set_property
- set_qdata
- set_qdata_full
- set_valist
- setv
- steal_data
- steal_qdata
- thaw_notify
- unref
- watch_closure
- weak_ref
- weak_unref