Class TdApi.CanSendGiftResultFail

Enclosing class:
TdApi

public static class TdApi.CanSendGiftResultFail extends TdApi.CanSendGiftResult
The gift can't be sent now by the current user.
  • Field Details

    • reason

      public TdApi.FormattedText reason
      Reason to be shown to the user.
    • CONSTRUCTOR

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

    • CanSendGiftResultFail

      public CanSendGiftResultFail()
      The gift can't be sent now by the current user.
    • CanSendGiftResultFail

      public CanSendGiftResultFail(TdApi.FormattedText reason)
      The gift can't be sent now by the current user.
      Parameters:
      reason - Reason to be shown to the user.
  • 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