haskell-tdlib-2.0.47.0
Safe HaskellSafe-Inferred
LanguageGHC2021

TD.Query.SetChatAccentColor

Synopsis

Documentation

data SetChatAccentColor Source #

Changes accent color and background custom emoji of a channel chat. Requires can_change_info administrator right. Returns Ok

Constructors

SetChatAccentColor 

Fields

  • chat_id :: Maybe Int

    Chat identifier

  • accent_color_id :: Maybe Int

    Identifier of the accent color to use. The chat must have at least accentColor.min_channel_chat_boost_level boost level to pass the corresponding color

  • background_custom_emoji_id :: Maybe Int

    Identifier of a custom emoji to be shown on the reply header and link preview background; 0 if none. Use chatBoostLevelFeatures.can_set_background_custom_emoji to check whether a custom emoji can be set