GetReceivedGifts
Object Hierarchy:
Description:
public class GetReceivedGifts :
TDObject
Returns gifts received by the given user or chat
Content:
Properties:
- public string business_connection_id { get; set construct; }
Unique identifier of business connection on behalf of which to send
the request; for bots only
- public bool exclude_limited { get; set construct; }
Pass true to exclude gifts that can be purchased limited number of
times
- public bool exclude_saved { get; set construct; }
Pass true to exclude gifts that are saved to the chat's profile page.
Always false for gifts received by other users and channel chats without can_post_messages administrator right
- public bool exclude_unlimited { get; set construct; }
Pass true to exclude gifts that can be purchased unlimited number of
times
- public bool exclude_unsaved { get; set construct; }
Pass true to exclude gifts that aren't saved to the chat's profile
page. Always true for gifts received by other users and channel chats without can_post_messages administrator right
- public bool exclude_upgraded { get; set construct; }
Pass true to exclude upgraded gifts
- public int32 limit { get; set construct; }
The maximum number of gifts to be returned; must be positive and can't
be greater than 100. For optimal performance, the number of returned objects is chosen by TDLib and can be smaller than the specified
limit
- public string offset { get; set construct; }
Offset of the first entry to return as received from the previous
request; use empty string to get the first chunk of results
- public MessageSender owner_id { get; set construct; }
Identifier of the gift receiver
- public bool sort_by_price { get; set construct; }
Pass true to sort results by gift price instead of send date
Creation methods:
- public GetReceivedGifts (string business_connection_id, MessageSender owner_id, bool exclude_unsaved, bool exclude_saved, bool exclude_unlimited, bool exclude_limited, bool exclude_upgraded, bool sort_by_price, string offset, int32 limit)
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