ChatFolder
Object Hierarchy:
Description:
public class ChatFolder :
Error
Represents a folder for user chats
Content:
Properties:
- public int32 color_id { get; set construct; }
The identifier of the chosen color for the chat folder icon; from -1
to 6. If -1, then color is disabled. Can't be changed if folder tags are disabled or the current user doesn't have Telegram Premium
subscription
- public bool exclude_archived { get; set construct; }
True, if archived chats need to be excluded
- public bool exclude_muted { get; set construct; }
True, if muted chats need to be excluded
- public bool exclude_read { get; set construct; }
True, if read chats need to be excluded
- public ArrayList<int64?> excluded_chat_ids { get; set construct; }
The chat identifiers of always excluded chats in the folder. There can
be up to getOption("chat_folder_chosen_chat_count_max") always excluded non-secret chats and the same number of secret chats, but the
limit can be increased with Telegram Premium
- public ChatFolderIcon? icon { get; set construct; }
- public bool include_bots { get; set construct; }
True, if bots need to be included
- public bool include_channels { get; set construct; }
True, if channels need to be included
- public bool include_contacts { get; set construct; }
True, if contacts need to be included
- public bool include_groups { get; set construct; }
True, if basic groups and supergroups need to be included
- public bool include_non_contacts { get; set construct; }
True, if non-contact users need to be included
- public ArrayList<int64?> included_chat_ids { get; set construct; }
The chat identifiers of always included chats in the folder. There can
be up to getOption("chat_folder_chosen_chat_count_max") pinned and always included non-secret chats and the same number of secret
chats, but the limit can be increased with Telegram Premium
- public bool is_shareable { get; set construct; }
True, if at least one link has been created for the folder
- public ChatFolderName name { get; set construct; }
The name of the folder
- public ArrayList<int64?> pinned_chat_ids { get; set construct; }
The chat identifiers of pinned chats in the folder. There can be up to
getOption("chat_folder_chosen_chat_count_max") pinned and always included non-secret chats and the same number of secret chats, but
the limit can be increased with Telegram Premium
Creation methods:
- public ChatFolder (ChatFolderName name, ChatFolderIcon? icon, int32 color_id, bool is_shareable, ArrayList<int64?> pinned_chat_ids, ArrayList<int64?> included_chat_ids, ArrayList<int64?> excluded_chat_ids, bool exclude_muted, bool exclude_read, bool exclude_archived, bool include_contacts, bool include_non_contacts, bool include_bots, bool include_groups, bool include_channels)
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