InputMessagePoll
Object Hierarchy:
Description:
public class InputMessagePoll :
InputMessageContent
A message with a poll. Polls can't be sent to secret chats. Polls can be sent only to a private chat with a bot
Content:
Properties:
- public int32 close_date { get; set construct; }
Point in time (Unix timestamp) when the poll will automatically be
closed; for bots only
- public bool is_anonymous { get; set construct; }
True, if the poll voters are anonymous. Non-anonymous polls can't be
sent or forwarded to channels
- public bool is_closed { get; set construct; }
True, if the poll needs to be sent already closed; for bots only
- public int32 open_period { get; set construct; }
Amount of time the poll will be active after creation, in seconds; for
bots only
- public ArrayList<FormattedText?> options { get; set construct; }
List of poll answer options, 2-10 strings 1-100 characters each. Only
custom emoji entities are allowed to be added and only by Premium users
- public FormattedText question { get; set construct; }
Poll question; 1-255 characters (up to 300 characters for bots). Only
custom emoji entities are allowed to be added and only by Premium users
- public PollType type_ { get; set construct; }
Type of the poll
Creation methods:
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