Package org.drinkless.tdlib
Class TdApi.PlaceGiftAuctionBid
- Enclosing class:
- TdApi
Places a bid on an auction gift.
Returns Ok
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.longIdentifier of the gift to place the bid on.booleanPass true to show gift text and sender only to the gift receiver; otherwise, everyone will be able to see them.longThe number of Telegram Stars to place in the bid.Text to show along with the gift; 0-getOption("gift_text_length_max") characters.longIdentifier of the user that will receive the gift. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for a function, which places a bid on an auction gift.PlaceGiftAuctionBid(long giftId, long starCount, long userId, TdApi.FormattedText text, boolean isPrivate) Creates a function, which places a bid on an auction gift. -
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 place the bid on. -
starCount
public long starCountThe number of Telegram Stars to place in the bid. -
userId
public long userIdIdentifier of the user that will receive the gift. -
text
Text to show along with the gift; 0-getOption("gift_text_length_max") characters. Only Bold, Italic, Underline, Strikethrough, Spoiler, and CustomEmoji entities are allowed. Must be empty if the receiver enabled paid messages. -
isPrivate
public boolean isPrivatePass true to show gift text and sender only to the gift receiver; otherwise, everyone will be able to see them. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
PlaceGiftAuctionBid
public PlaceGiftAuctionBid()Default constructor for a function, which places a bid on an auction gift.Returns
Ok -
PlaceGiftAuctionBid
public PlaceGiftAuctionBid(long giftId, long starCount, long userId, TdApi.FormattedText text, boolean isPrivate) Creates a function, which places a bid on an auction gift.Returns
Ok- Parameters:
giftId- Identifier of the gift to place the bid on.starCount- The number of Telegram Stars to place in the bid.userId- Identifier of the user that will receive the gift.text- Text to show along with the gift; 0-getOption("gift_text_length_max") characters. Only Bold, Italic, Underline, Strikethrough, Spoiler, and CustomEmoji entities are allowed. Must be empty if the receiver enabled paid messages.isPrivate- Pass true to show gift text and sender only to the gift receiver; otherwise, everyone will be able to see them.
-
-
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
-