haskell-tdlib-2.1.28.0: Binding to the Telegram Database Library
Safe HaskellSafe-Inferred
LanguageGHC2021

TD.Data.ProfileShareTheme

Synopsis

Documentation

data ProfileShareTheme Source #

Describes a theme of the screen for sharing a link to a user or a chat

Constructors

ProfileShareThemeEmoji

A theme with emoji placed on a background

Fields

  • emojis :: Maybe [EmojiType]

    The emoji; 0-6 regular or custom emoji. If empty, then use_default_background is false

  • use_default_background :: Maybe Bool

    True, if the default background is used; otherwise, the backdrop with identifier background_backdrop_id is used as background

  • background_backdrop_id :: Maybe Int

    Identifier of the backdrop used as background; must be ignored if use_default_background is true. Use getProfileShareThemeBackdrops to get details about the backdrop

ProfileShareThemeUpgradedGift

A theme based on an upgraded gift owned by the user or the chat

Fields