Story
Object Hierarchy:
Description:
public class Story :
Error
Content:
Properties:
- public ArrayList<StoryArea?> areas { get; set construct; }
Clickable areas to be shown on the story content
- public bool can_be_deleted { get; set construct; }
True, if the story can be deleted
- public bool can_be_edited { get; set construct; }
True, if the story can be edited
- public bool can_be_forwarded { get; set construct; }
True, if the story can be forwarded as a message. Otherwise,
screenshots and saving of the story content must be also forbidden
- public bool can_be_replied { get; set construct; }
True, if the story can be replied in the chat with the user that
posted the story
- public bool can_get_interactions { get; set construct; }
- public bool can_get_statistics { get; set construct; }
- public bool can_toggle_is_posted_to_chat_page { get; set construct; }
True, if the story's is_posted_to_chat_page value can be changed
- public FormattedText caption { get; set construct; }
Caption of the story
- public ReactionType? chosen_reaction_type { get; set construct; }
Type of the chosen reaction; may be null if none
- public StoryContent content { get; set construct; }
Content of the story
- public int32 date { get; set construct; }
Point in time (Unix timestamp) when the story was published
- public bool has_expired_viewers { get; set construct; }
True, if users viewed the story can't be received, because the story
has expired more than getOption("story_viewers_expiration_delay") seconds ago
- public int32 id_ { get; set construct; }
Unique story identifier among stories posted by the given chat
- public StoryInteractionInfo? interaction_info { get; set construct; }
Information about interactions with the story; may be null if the
story isn't owned or there were no interactions
- public bool is_being_edited { get; set construct; }
True, if the story is being edited by the current user
- public bool is_being_posted { get; set construct; }
True, if the story is being posted by the current user
- public bool is_edited { get; set construct; }
True, if the story was edited
- public bool is_posted_to_chat_page { get; set construct; }
True, if the story is saved in the profile of the chat that posted it
and will be available there after expiration
- public bool is_visible_only_for_self { get; set construct; }
True, if the story is visible only for the current user
- public int64 poster_chat_id { get; set construct; }
Identifier of the chat that posted the story
- public MessageSender? poster_id { get; set construct; }
Identifier of the user or chat that posted the story; may be null if
the story is posted on behalf of the poster_chat_id
- public StoryPrivacySettings privacy_settings { get; set construct; }
Privacy rules affecting story visibility; may be approximate for non-
owned stories
- public StoryRepostInfo? repost_info { get; set construct; }
Information about the original story; may be null if the story wasn't
reposted
Creation methods:
- public Story (int32 id_, int64 poster_chat_id, MessageSender? poster_id, int32 date, bool is_being_posted, bool is_being_edited, bool is_edited, bool is_posted_to_chat_page, bool is_visible_only_for_self, bool can_be_deleted, bool can_be_edited, bool can_be_forwarded, bool can_be_replied, bool can_toggle_is_posted_to_chat_page, bool can_get_statistics, bool can_get_interactions, bool has_expired_viewers, StoryRepostInfo? repost_info, StoryInteractionInfo? interaction_info, ReactionType? chosen_reaction_type, StoryPrivacySettings privacy_settings, StoryContent content, ArrayList<StoryArea?> areas, FormattedText caption)
Inherited Members:
All known members inherited from class TDLib.Error
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