MessageActionSetChatTheme
- class pyrogram.raw.types.MessageActionSetChatTheme
The chat theme was changed
Constructor of
MessageAction.- Details:
Layer:
223ID:
B91BBD3A
- Parameters:
theme (
ChatTheme) – The new chat theme.
TL Schema
messageActionSetChatTheme#b91bbd3a
theme:ChatTheme
= MessageAction
Parameter Tree
MessageActionSetChatTheme
└── theme →
ChatTheme├──
ChatTheme│ └── emoticon →
string├── gift →
StarGift│ ├──
StarGift│ │ ├── limited →
true (optional)│ │ ├── sold_out →
true (optional)│ │ ├── birthday →
true (optional)│ │ ├── require_premium →
true (optional)│ │ ├── limited_per_user →
true (optional)│ │ ├── peer_color_available →
true (optional)│ │ ├── auction →
true (optional)│ │ ├── id →
long│ │ ├── sticker →
Document│ │ │ ├──
DocumentEmpty│ │ │ └──
Document│ │ ├── stars →
long│ │ ├── availability_remains →
int (optional)│ │ ├── availability_total →
int (optional)│ │ ├── availability_resale →
long (optional)│ │ ├── convert_stars →
long│ │ ├── first_sale_date →
int (optional)│ │ ├── last_sale_date →
int (optional)│ │ ├── upgrade_stars →
long (optional)│ │ ├── resell_min_stars →
long (optional)│ │ ├── title →
string (optional)│ │ ├── released_by →
Peer (optional)│ │ │ ├──
PeerUser│ │ │ ├──
PeerChat│ │ │ └──
PeerChannel│ │ ├── per_user_total →
int (optional)│ │ ├── per_user_remains →
int (optional)│ │ ├── locked_until_date →
int (optional)│ │ ├── auction_slug →
string (optional)│ │ ├── gifts_per_round →
int (optional)│ │ ├── auction_start_date →
int (optional)│ │ ├── upgrade_variants →
int (optional)│ │ └── background →
StarGiftBackground (optional)│ │ └──
StarGiftBackground│ └──
StarGiftUnique│ ├── require_premium →
true (optional)│ ├── resale_ton_only →
true (optional)│ ├── theme_available →
true (optional)│ ├── burned →
true (optional)│ ├── crafted →
true (optional)│ ├── id →
long│ ├── gift_id →
long│ ├── title →
string│ ├── slug →
string│ ├── num →
int│ ├── owner_id →
Peer (optional)│ │ ├──
PeerUser│ │ ├──
PeerChat│ │ └──
PeerChannel│ ├── owner_name →
string (optional)│ ├── owner_address →
string (optional)│ ├── attributes →
Vector < StarGiftAttribute >│ │ ├──
StarGiftAttributeModel│ │ ├──
StarGiftAttributePattern│ │ ├──
StarGiftAttributeBackdrop│ │ └──
StarGiftAttributeOriginalDetails│ ├── availability_issued →
int│ ├── availability_total →
int│ ├── gift_address →
string (optional)│ ├── resell_amount →
Vector < StarsAmount > (optional)│ │ ├──
StarsAmount│ │ └──
StarsTonAmount│ ├── released_by →
Peer (optional)│ │ ├──
PeerUser│ │ ├──
PeerChat│ │ └──
PeerChannel│ ├── value_amount →
long (optional)│ ├── value_currency →
string (optional)│ ├── value_usd_amount →
long (optional)│ ├── theme_peer →
Peer (optional)│ │ ├──
PeerUser│ │ ├──
PeerChat│ │ └──
PeerChannel│ ├── peer_color →
PeerColor (optional)│ │ ├──
PeerColor│ │ ├──
PeerColorCollectible│ │ └──
InputPeerColorCollectible│ ├── host_id →
Peer (optional)│ │ ├──
PeerUser│ │ ├──
PeerChat│ │ └──
PeerChannel│ ├── offer_min_stars →
int (optional)│ └── craft_chance_permille →
int (optional)└── theme_settings →
Vector < ThemeSettings >└──
ThemeSettings├── message_colors_animated →
true (optional)├── base_theme →
BaseTheme│ ├──
BaseThemeClassic│ ├──
BaseThemeDay│ ├──
BaseThemeNight│ ├──
BaseThemeTinted│ └──
BaseThemeArctic├── accent_color →
int├── outbox_accent_color →
int (optional)├── message_colors →
Vector < int > (optional)└── wallpaper →
WallPaper (optional)├──
WallPaper└──
WallPaperNoFileExample
MessageActionSetChatTheme(
theme=ChatTheme(emoticon="text"),
)