SetChatBackground
Object Hierarchy:
Description:
public class SetChatBackground :
TDObject
Sets the background in a specific chat. Supported only in private and secret chats with non-deleted users, and in chats with sufficient
boost level and can_change_info administrator right
Content:
Properties:
- public InputBackground background { get; set construct; }
The input background to use; pass null to create a new filled or chat
theme background
- public int64 chat_id { get; set construct; }
Chat identifier
- public int32 dark_theme_dimming { get; set construct; }
Dimming of the background in dark themes, as a percentage; 0-100.
Applied only to Wallpaper and Fill types of background
- public bool only_for_self { get; set construct; }
Pass true to set background only for self; pass false to set
background for all chat users. Always false for backgrounds set in boosted chats. Background can be set for both users only by
Telegram Premium users and if set background isn't of the type inputBackgroundPrevious
- public BackgroundType type_ { get; set construct; }
Background type; pass null to use default background type for the
chosen background; backgroundTypeChatTheme isn't supported for private and secret chats. Use
chatBoostLevelFeatures.chat_theme_background_count and chatBoostLevelFeatures.can_set_custom_background to check whether the
background type can be set in the boosted chat
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