Skip to content

GiftSettings

Type · TDLib 1.8.67 · d1085f9c

Contains settings for gift receiving for a user

GiftSettings(
  show_gift_button: Bool,
  accepted_gift_types: AcceptedGiftTypes
) → GiftSettings

show_gift_button

Bool

True, if a button for sending a gift to the user or by the user must always be shown in the input field

accepted_gift_types

AcceptedGiftTypes

Types of gifts accepted by the user; for Telegram Premium users only