Class TdApi.SetGiftSettings

Enclosing class:
TdApi

public static class TdApi.SetGiftSettings extends TdApi.Function<TdApi.Ok>
Changes settings for gift receiving for the current user.

Returns Ok

  • Field Details

    • settings

      public TdApi.GiftSettings settings
      The new settings.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      See Also:
  • Constructor Details

    • SetGiftSettings

      public SetGiftSettings()
      Default constructor for a function, which changes settings for gift receiving for the current user.

      Returns Ok

    • SetGiftSettings

      public SetGiftSettings(TdApi.GiftSettings settings)
      Creates a function, which changes settings for gift receiving for the current user.

      Returns Ok

      Parameters:
      settings - The new settings.
  • Method Details

    • getConstructor

      public int getConstructor()
      Description copied from class: TdApi.Object
      Returns an identifier uniquely determining type of the object.
      Specified by:
      getConstructor in class TdApi.Object
      Returns:
      this.CONSTRUCTOR