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

TD.Data.InputProfileShareTheme

Synopsis

Documentation

data InputProfileShareTheme Source #

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

Constructors

InputProfileShareThemeEmoji

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 must be false

  • use_default_background :: Maybe Bool

    Pass true to use the default background; otherwise, the backdrop with identifier background_backdrop_id will be used as background

  • background_backdrop_id :: Maybe Int

    Identifier of the backdrop to be used as background; ignored if use_default_background is true. Use getProfileShareThemeBackdrops to get the list of available backdrops

InputProfileShareThemeUpgradedGift

A theme based on an upgraded gift

Fields

  • received_gift_id :: Maybe Text

    Identifier of the upgraded gift, which is owned by the user or the chat, for which the theme is set