account.ChatThemes

class pyrogram.raw.base.account.ChatThemes

Available chat themes

Constructors:

This base type has 2 constructors available.

account.ChatThemes

Available chat themes

account.ChatThemesNotModified

The available chat themes were not modified

Functions:

This object can be returned by 1 function.

account.GetUniqueGiftChatThemes

Obtain all chat themes » associated to owned collectible gifts ».

TL Schema

account.chatThemes#be098173
flags:#
hash:long
themes:Vector<ChatTheme>
chats:Vector<Chat>
users:Vector<User>
next_offset:flags.0?string

= account.ChatThemes

Parameter Tree

ChatThemes
├── hashlong
├── themesVector < ChatTheme >
│ ├── ChatTheme
│ │ └── emoticonstring
│ └── ChatThemeUniqueGift
│ ├── giftStarGift
│ │ ├── StarGift
│ │ │ ├── limitedtrue (optional)
│ │ │ ├── sold_outtrue (optional)
│ │ │ ├── birthdaytrue (optional)
│ │ │ ├── require_premiumtrue (optional)
│ │ │ ├── limited_per_usertrue (optional)
│ │ │ ├── peer_color_availabletrue (optional)
│ │ │ ├── auctiontrue (optional)
│ │ │ ├── idlong
│ │ │ ├── stickerDocument
│ │ │ │ ├── DocumentEmpty
│ │ │ │ └── Document
│ │ │ ├── starslong
│ │ │ ├── availability_remainsint (optional)
│ │ │ ├── availability_totalint (optional)
│ │ │ ├── availability_resalelong (optional)
│ │ │ ├── convert_starslong
│ │ │ ├── first_sale_dateint (optional)
│ │ │ ├── last_sale_dateint (optional)
│ │ │ ├── upgrade_starslong (optional)
│ │ │ ├── resell_min_starslong (optional)
│ │ │ ├── titlestring (optional)
│ │ │ ├── released_byPeer (optional)
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── per_user_totalint (optional)
│ │ │ ├── per_user_remainsint (optional)
│ │ │ ├── locked_until_dateint (optional)
│ │ │ ├── auction_slugstring (optional)
│ │ │ ├── gifts_per_roundint (optional)
│ │ │ ├── auction_start_dateint (optional)
│ │ │ ├── upgrade_variantsint (optional)
│ │ │ └── backgroundStarGiftBackground (optional)
│ │ │ └── StarGiftBackground
│ │ └── StarGiftUnique
│ │ ├── require_premiumtrue (optional)
│ │ ├── resale_ton_onlytrue (optional)
│ │ ├── theme_availabletrue (optional)
│ │ ├── burnedtrue (optional)
│ │ ├── craftedtrue (optional)
│ │ ├── idlong
│ │ ├── gift_idlong
│ │ ├── titlestring
│ │ ├── slugstring
│ │ ├── numint
│ │ ├── owner_idPeer (optional)
│ │ │ ├── PeerUser
│ │ │ ├── PeerChat
│ │ │ └── PeerChannel
│ │ ├── owner_namestring (optional)
│ │ ├── owner_addressstring (optional)
│ │ ├── attributesVector < StarGiftAttribute >
│ │ │ ├── StarGiftAttributeModel
│ │ │ ├── StarGiftAttributePattern
│ │ │ ├── StarGiftAttributeBackdrop
│ │ │ └── StarGiftAttributeOriginalDetails
│ │ ├── availability_issuedint
│ │ ├── availability_totalint
│ │ ├── gift_addressstring (optional)
│ │ ├── resell_amountVector < StarsAmount > (optional)
│ │ │ ├── StarsAmount
│ │ │ └── StarsTonAmount
│ │ ├── released_byPeer (optional)
│ │ │ ├── PeerUser
│ │ │ ├── PeerChat
│ │ │ └── PeerChannel
│ │ ├── value_amountlong (optional)
│ │ ├── value_currencystring (optional)
│ │ ├── value_usd_amountlong (optional)
│ │ ├── theme_peerPeer (optional)
│ │ │ ├── PeerUser
│ │ │ ├── PeerChat
│ │ │ └── PeerChannel
│ │ ├── peer_colorPeerColor (optional)
│ │ │ ├── PeerColor
│ │ │ ├── PeerColorCollectible
│ │ │ └── InputPeerColorCollectible
│ │ ├── host_idPeer (optional)
│ │ │ ├── PeerUser
│ │ │ ├── PeerChat
│ │ │ └── PeerChannel
│ │ ├── offer_min_starsint (optional)
│ │ └── craft_chance_permilleint (optional)
│ └── theme_settingsVector < ThemeSettings >
│ └── ThemeSettings
│ ├── message_colors_animatedtrue (optional)
│ ├── base_themeBaseTheme
│ │ ├── BaseThemeClassic
│ │ ├── BaseThemeDay
│ │ ├── BaseThemeNight
│ │ ├── BaseThemeTinted
│ │ └── BaseThemeArctic
│ ├── accent_colorint
│ ├── outbox_accent_colorint (optional)
│ ├── message_colorsVector < int > (optional)
│ └── wallpaperWallPaper (optional)
│ ├── WallPaper
│ └── WallPaperNoFile
├── chatsVector < Chat >
│ ├── ChatEmpty
│ │ └── idlong
│ ├── Chat
│ │ ├── creatortrue (optional)
│ │ ├── lefttrue (optional)
│ │ ├── deactivatedtrue (optional)
│ │ ├── call_activetrue (optional)
│ │ ├── call_not_emptytrue (optional)
│ │ ├── noforwardstrue (optional)
│ │ ├── idlong
│ │ ├── titlestring
│ │ ├── photoChatPhoto
│ │ │ ├── ChatPhotoEmpty
│ │ │ └── ChatPhoto
│ │ │ ├── has_videotrue (optional)
│ │ │ ├── photo_idlong
│ │ │ ├── stripped_thumbbytes (optional)
│ │ │ └── dc_idint
│ │ ├── participants_countint
│ │ ├── dateint
│ │ ├── versionint
│ │ ├── migrated_toInputChannel (optional)
│ │ │ ├── InputChannelEmpty
│ │ │ ├── InputChannel
│ │ │ └── InputChannelFromMessage
│ │ ├── admin_rightsChatAdminRights (optional)
│ │ │ └── ChatAdminRights
│ │ │ ├── change_infotrue (optional)
│ │ │ ├── post_messagestrue (optional)
│ │ │ ├── edit_messagestrue (optional)
│ │ │ ├── delete_messagestrue (optional)
│ │ │ ├── ban_userstrue (optional)
│ │ │ ├── invite_userstrue (optional)
│ │ │ ├── pin_messagestrue (optional)
│ │ │ ├── add_adminstrue (optional)
│ │ │ ├── anonymoustrue (optional)
│ │ │ ├── manage_calltrue (optional)
│ │ │ ├── othertrue (optional)
│ │ │ ├── manage_topicstrue (optional)
│ │ │ ├── post_storiestrue (optional)
│ │ │ ├── edit_storiestrue (optional)
│ │ │ ├── delete_storiestrue (optional)
│ │ │ ├── manage_direct_messagestrue (optional)
│ │ │ └── manage_rankstrue (optional)
│ │ └── default_banned_rightsChatBannedRights (optional)
│ │ └── ChatBannedRights
│ │ ├── view_messagestrue (optional)
│ │ ├── send_messagestrue (optional)
│ │ ├── send_mediatrue (optional)
│ │ ├── send_stickerstrue (optional)
│ │ ├── send_gifstrue (optional)
│ │ ├── send_gamestrue (optional)
│ │ ├── send_inlinetrue (optional)
│ │ ├── embed_linkstrue (optional)
│ │ ├── send_pollstrue (optional)
│ │ ├── change_infotrue (optional)
│ │ ├── invite_userstrue (optional)
│ │ ├── pin_messagestrue (optional)
│ │ ├── manage_topicstrue (optional)
│ │ ├── send_photostrue (optional)
│ │ ├── send_videostrue (optional)
│ │ ├── send_roundvideostrue (optional)
│ │ ├── send_audiostrue (optional)
│ │ ├── send_voicestrue (optional)
│ │ ├── send_docstrue (optional)
│ │ ├── send_plaintrue (optional)
│ │ ├── edit_ranktrue (optional)
│ │ └── until_dateint
│ ├── ChatForbidden
│ │ ├── idlong
│ │ └── titlestring
│ ├── Channel
│ │ ├── creatortrue (optional)
│ │ ├── lefttrue (optional)
│ │ ├── broadcasttrue (optional)
│ │ ├── verifiedtrue (optional)
│ │ ├── megagrouptrue (optional)
│ │ ├── restrictedtrue (optional)
│ │ ├── signaturestrue (optional)
│ │ ├── mintrue (optional)
│ │ ├── scamtrue (optional)
│ │ ├── has_linktrue (optional)
│ │ ├── has_geotrue (optional)
│ │ ├── slowmode_enabledtrue (optional)
│ │ ├── call_activetrue (optional)
│ │ ├── call_not_emptytrue (optional)
│ │ ├── faketrue (optional)
│ │ ├── gigagrouptrue (optional)
│ │ ├── noforwardstrue (optional)
│ │ ├── join_to_sendtrue (optional)
│ │ ├── join_requesttrue (optional)
│ │ ├── forumtrue (optional)
│ │ ├── stories_hiddentrue (optional)
│ │ ├── stories_hidden_mintrue (optional)
│ │ ├── stories_unavailabletrue (optional)
│ │ ├── signature_profilestrue (optional)
│ │ ├── autotranslationtrue (optional)
│ │ ├── broadcast_messages_allowedtrue (optional)
│ │ ├── monoforumtrue (optional)
│ │ ├── forum_tabstrue (optional)
│ │ ├── idlong
│ │ ├── access_hashlong (optional)
│ │ ├── titlestring
│ │ ├── usernamestring (optional)
│ │ ├── photoChatPhoto
│ │ │ ├── ChatPhotoEmpty
│ │ │ └── ChatPhoto
│ │ │ ├── has_videotrue (optional)
│ │ │ ├── photo_idlong
│ │ │ ├── stripped_thumbbytes (optional)
│ │ │ └── dc_idint
│ │ ├── dateint
│ │ ├── restriction_reasonVector < RestrictionReason > (optional)
│ │ │ └── RestrictionReason
│ │ │ ├── platformstring
│ │ │ ├── reasonstring
│ │ │ └── textstring
│ │ ├── admin_rightsChatAdminRights (optional)
│ │ │ └── ChatAdminRights
│ │ │ ├── change_infotrue (optional)
│ │ │ ├── post_messagestrue (optional)
│ │ │ ├── edit_messagestrue (optional)
│ │ │ ├── delete_messagestrue (optional)
│ │ │ ├── ban_userstrue (optional)
│ │ │ ├── invite_userstrue (optional)
│ │ │ ├── pin_messagestrue (optional)
│ │ │ ├── add_adminstrue (optional)
│ │ │ ├── anonymoustrue (optional)
│ │ │ ├── manage_calltrue (optional)
│ │ │ ├── othertrue (optional)
│ │ │ ├── manage_topicstrue (optional)
│ │ │ ├── post_storiestrue (optional)
│ │ │ ├── edit_storiestrue (optional)
│ │ │ ├── delete_storiestrue (optional)
│ │ │ ├── manage_direct_messagestrue (optional)
│ │ │ └── manage_rankstrue (optional)
│ │ ├── banned_rightsChatBannedRights (optional)
│ │ │ └── ChatBannedRights
│ │ │ ├── view_messagestrue (optional)
│ │ │ ├── send_messagestrue (optional)
│ │ │ ├── send_mediatrue (optional)
│ │ │ ├── send_stickerstrue (optional)
│ │ │ ├── send_gifstrue (optional)
│ │ │ ├── send_gamestrue (optional)
│ │ │ ├── send_inlinetrue (optional)
│ │ │ ├── embed_linkstrue (optional)
│ │ │ ├── send_pollstrue (optional)
│ │ │ ├── change_infotrue (optional)
│ │ │ ├── invite_userstrue (optional)
│ │ │ ├── pin_messagestrue (optional)
│ │ │ ├── manage_topicstrue (optional)
│ │ │ ├── send_photostrue (optional)
│ │ │ ├── send_videostrue (optional)
│ │ │ ├── send_roundvideostrue (optional)
│ │ │ ├── send_audiostrue (optional)
│ │ │ ├── send_voicestrue (optional)
│ │ │ ├── send_docstrue (optional)
│ │ │ ├── send_plaintrue (optional)
│ │ │ ├── edit_ranktrue (optional)
│ │ │ └── until_dateint
│ │ ├── default_banned_rightsChatBannedRights (optional)
│ │ │ └── ChatBannedRights
│ │ │ ├── view_messagestrue (optional)
│ │ │ ├── send_messagestrue (optional)
│ │ │ ├── send_mediatrue (optional)
│ │ │ ├── send_stickerstrue (optional)
│ │ │ ├── send_gifstrue (optional)
│ │ │ ├── send_gamestrue (optional)
│ │ │ ├── send_inlinetrue (optional)
│ │ │ ├── embed_linkstrue (optional)
│ │ │ ├── send_pollstrue (optional)
│ │ │ ├── change_infotrue (optional)
│ │ │ ├── invite_userstrue (optional)
│ │ │ ├── pin_messagestrue (optional)
│ │ │ ├── manage_topicstrue (optional)
│ │ │ ├── send_photostrue (optional)
│ │ │ ├── send_videostrue (optional)
│ │ │ ├── send_roundvideostrue (optional)
│ │ │ ├── send_audiostrue (optional)
│ │ │ ├── send_voicestrue (optional)
│ │ │ ├── send_docstrue (optional)
│ │ │ ├── send_plaintrue (optional)
│ │ │ ├── edit_ranktrue (optional)
│ │ │ └── until_dateint
│ │ ├── participants_countint (optional)
│ │ ├── usernamesVector < Username > (optional)
│ │ │ └── Username
│ │ │ ├── editabletrue (optional)
│ │ │ ├── activetrue (optional)
│ │ │ └── usernamestring
│ │ ├── stories_max_idRecentStory (optional)
│ │ │ └── RecentStory
│ │ │ ├── livetrue (optional)
│ │ │ └── max_idint (optional)
│ │ ├── colorPeerColor (optional)
│ │ │ ├── PeerColor
│ │ │ │ ├── colorint (optional)
│ │ │ │ └── background_emoji_idlong (optional)
│ │ │ ├── PeerColorCollectible
│ │ │ │ ├── collectible_idlong
│ │ │ │ ├── gift_emoji_idlong
│ │ │ │ ├── background_emoji_idlong
│ │ │ │ ├── accent_colorint
│ │ │ │ ├── colorsVector < int >
│ │ │ │ ├── dark_accent_colorint (optional)
│ │ │ │ └── dark_colorsVector < int > (optional)
│ │ │ └── InputPeerColorCollectible
│ │ │ └── collectible_idlong
│ │ ├── profile_colorPeerColor (optional)
│ │ │ ├── PeerColor
│ │ │ │ ├── colorint (optional)
│ │ │ │ └── background_emoji_idlong (optional)
│ │ │ ├── PeerColorCollectible
│ │ │ │ ├── collectible_idlong
│ │ │ │ ├── gift_emoji_idlong
│ │ │ │ ├── background_emoji_idlong
│ │ │ │ ├── accent_colorint
│ │ │ │ ├── colorsVector < int >
│ │ │ │ ├── dark_accent_colorint (optional)
│ │ │ │ └── dark_colorsVector < int > (optional)
│ │ │ └── InputPeerColorCollectible
│ │ │ └── collectible_idlong
│ │ ├── emoji_statusEmojiStatus (optional)
│ │ │ ├── EmojiStatusEmpty
│ │ │ ├── EmojiStatus
│ │ │ │ ├── document_idlong
│ │ │ │ └── untilint (optional)
│ │ │ ├── EmojiStatusCollectible
│ │ │ │ ├── collectible_idlong
│ │ │ │ ├── document_idlong
│ │ │ │ ├── titlestring
│ │ │ │ ├── slugstring
│ │ │ │ ├── pattern_document_idlong
│ │ │ │ ├── center_colorint
│ │ │ │ ├── edge_colorint
│ │ │ │ ├── pattern_colorint
│ │ │ │ ├── text_colorint
│ │ │ │ └── untilint (optional)
│ │ │ └── InputEmojiStatusCollectible
│ │ │ ├── collectible_idlong
│ │ │ └── untilint (optional)
│ │ ├── levelint (optional)
│ │ ├── subscription_until_dateint (optional)
│ │ ├── bot_verification_iconlong (optional)
│ │ ├── send_paid_messages_starslong (optional)
│ │ └── linked_monoforum_idlong (optional)
│ └── ChannelForbidden
│ ├── broadcasttrue (optional)
│ ├── megagrouptrue (optional)
│ ├── monoforumtrue (optional)
│ ├── idlong
│ ├── access_hashlong
│ ├── titlestring
│ └── until_dateint (optional)
├── usersVector < User >
│ ├── UserEmpty
│ │ └── idlong
│ └── User
│ ├── is_selftrue (optional)
│ ├── contacttrue (optional)
│ ├── mutual_contacttrue (optional)
│ ├── deletedtrue (optional)
│ ├── bottrue (optional)
│ ├── bot_chat_historytrue (optional)
│ ├── bot_nochatstrue (optional)
│ ├── verifiedtrue (optional)
│ ├── restrictedtrue (optional)
│ ├── mintrue (optional)
│ ├── bot_inline_geotrue (optional)
│ ├── supporttrue (optional)
│ ├── scamtrue (optional)
│ ├── apply_min_phototrue (optional)
│ ├── faketrue (optional)
│ ├── bot_attach_menutrue (optional)
│ ├── premiumtrue (optional)
│ ├── attach_menu_enabledtrue (optional)
│ ├── bot_can_edittrue (optional)
│ ├── close_friendtrue (optional)
│ ├── stories_hiddentrue (optional)
│ ├── stories_unavailabletrue (optional)
│ ├── contact_require_premiumtrue (optional)
│ ├── bot_businesstrue (optional)
│ ├── bot_has_main_apptrue (optional)
│ ├── bot_forum_viewtrue (optional)
│ ├── bot_forum_can_manage_topicstrue (optional)
│ ├── idlong
│ ├── access_hashlong (optional)
│ ├── first_namestring (optional)
│ ├── last_namestring (optional)
│ ├── usernamestring (optional)
│ ├── phonestring (optional)
│ ├── photoUserProfilePhoto (optional)
│ │ ├── UserProfilePhotoEmpty
│ │ └── UserProfilePhoto
│ │ ├── has_videotrue (optional)
│ │ ├── personaltrue (optional)
│ │ ├── photo_idlong
│ │ ├── stripped_thumbbytes (optional)
│ │ └── dc_idint
│ ├── statusUserStatus (optional)
│ │ ├── UserStatusEmpty
│ │ ├── UserStatusOnline
│ │ │ └── expiresint
│ │ ├── UserStatusOffline
│ │ │ └── was_onlineint
│ │ ├── UserStatusRecently
│ │ │ └── by_metrue (optional)
│ │ ├── UserStatusLastWeek
│ │ │ └── by_metrue (optional)
│ │ └── UserStatusLastMonth
│ │ └── by_metrue (optional)
│ ├── bot_info_versionint (optional)
│ ├── restriction_reasonVector < RestrictionReason > (optional)
│ │ └── RestrictionReason
│ │ ├── platformstring
│ │ ├── reasonstring
│ │ └── textstring
│ ├── bot_inline_placeholderstring (optional)
│ ├── lang_codestring (optional)
│ ├── emoji_statusEmojiStatus (optional)
│ │ ├── EmojiStatusEmpty
│ │ ├── EmojiStatus
│ │ │ ├── document_idlong
│ │ │ └── untilint (optional)
│ │ ├── EmojiStatusCollectible
│ │ │ ├── collectible_idlong
│ │ │ ├── document_idlong
│ │ │ ├── titlestring
│ │ │ ├── slugstring
│ │ │ ├── pattern_document_idlong
│ │ │ ├── center_colorint
│ │ │ ├── edge_colorint
│ │ │ ├── pattern_colorint
│ │ │ ├── text_colorint
│ │ │ └── untilint (optional)
│ │ └── InputEmojiStatusCollectible
│ │ ├── collectible_idlong
│ │ └── untilint (optional)
│ ├── usernamesVector < Username > (optional)
│ │ └── Username
│ │ ├── editabletrue (optional)
│ │ ├── activetrue (optional)
│ │ └── usernamestring
│ ├── stories_max_idRecentStory (optional)
│ │ └── RecentStory
│ │ ├── livetrue (optional)
│ │ └── max_idint (optional)
│ ├── colorPeerColor (optional)
│ │ ├── PeerColor
│ │ │ ├── colorint (optional)
│ │ │ └── background_emoji_idlong (optional)
│ │ ├── PeerColorCollectible
│ │ │ ├── collectible_idlong
│ │ │ ├── gift_emoji_idlong
│ │ │ ├── background_emoji_idlong
│ │ │ ├── accent_colorint
│ │ │ ├── colorsVector < int >
│ │ │ ├── dark_accent_colorint (optional)
│ │ │ └── dark_colorsVector < int > (optional)
│ │ └── InputPeerColorCollectible
│ │ └── collectible_idlong
│ ├── profile_colorPeerColor (optional)
│ │ ├── PeerColor
│ │ │ ├── colorint (optional)
│ │ │ └── background_emoji_idlong (optional)
│ │ ├── PeerColorCollectible
│ │ │ ├── collectible_idlong
│ │ │ ├── gift_emoji_idlong
│ │ │ ├── background_emoji_idlong
│ │ │ ├── accent_colorint
│ │ │ ├── colorsVector < int >
│ │ │ ├── dark_accent_colorint (optional)
│ │ │ └── dark_colorsVector < int > (optional)
│ │ └── InputPeerColorCollectible
│ │ └── collectible_idlong
│ ├── bot_active_usersint (optional)
│ ├── bot_verification_iconlong (optional)
│ └── send_paid_messages_starslong (optional)
└── next_offsetstring (optional)

Example

ChatThemes(
    hash=0,
    themes=[
            ChatTheme(emoticon="text")
        ],
    chats=[
            ChatEmpty(id=0)
        ],
    users=[
            UserEmpty(id=0)
        ],
    next_offset="text",
)