Package org.drinkless.tdlib
Class TdApi.CanSendGift
- Enclosing class:
- TdApi
Checks whether a gift with nextSendDate in the future can be sent already.
Returns CanSendGiftResult
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.longIdentifier of the gift to send. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for a function, which checks whether a gift with nextSendDate in the future can be sent already.CanSendGift(long giftId) Creates a function, which checks whether a gift with nextSendDate in the future can be sent already. -
Method Summary
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
Field Details
-
giftId
public long giftIdIdentifier of the gift to send. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
CanSendGift
public CanSendGift()Default constructor for a function, which checks whether a gift with nextSendDate in the future can be sent already.Returns
CanSendGiftResult -
CanSendGift
public CanSendGift(long giftId) Creates a function, which checks whether a gift with nextSendDate in the future can be sent already.Returns
CanSendGiftResult- Parameters:
giftId- Identifier of the gift to send.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-