MessageSendOptions
Object Hierarchy:
Description:
public class MessageSendOptions :
Error
Options to be used when a message is sent
Content:
Properties:
- public bool allow_paid_broadcast { get; set construct; }
Pass true to allow the message to ignore regular broadcast limits for
a small fee; for bots only
- public bool disable_notification { get; set construct; }
Pass true to disable notification for the message
- public int64 effect_id { get; set construct; }
- public bool from_background { get; set construct; }
Pass true if the message is sent from the background
- public bool only_preview { get; set construct; }
Pass true to get a fake message instead of actually sending them
- public int64 paid_message_star_count { get; set construct; }
The number of Telegram Stars the user agreed to pay to send the
messages
- public bool protect_content { get; set construct; }
Pass true if the content of the message must be protected from
forwarding and saving; for bots only
- public MessageSchedulingState scheduling_state { get; set construct; }
Message scheduling state; pass null to send message immediately.
Messages sent to a secret chat, to a chat with paid messages, live location messages and self-destructing messages can't be scheduled
- public int32 sending_id { get; set construct; }
Non-persistent identifier, which will be returned back in
messageSendingStatePending object and can be used to match sent messages and corresponding updateNewMessage updates
- public bool update_order_of_installed_sticker_sets { get; set construct; }
Creation methods:
- public MessageSendOptions (bool disable_notification, bool from_background, bool protect_content, bool allow_paid_broadcast, int64 paid_message_star_count, bool update_order_of_installed_sticker_sets, MessageSchedulingState scheduling_state, int64 effect_id, int32 sending_id, bool only_preview)
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