Skip to content

placeGiftAuctionBid

Function · TDLib 1.8.67 · d1085f9c

Places a bid on an auction gift

placeGiftAuctionBid(
  gift_id: int64,
  star_count: int53,
  user_id: int53,
  text: FormattedText,
  is_private: Bool
) → Ok

gift_id

int64

Identifier of the gift to place the bid on

star_count

int53

The number of Telegram Stars to place in the bid

user_id

int53

Identifier of the user who will receive the gift

text

FormattedText

Text to show along with the gift; 0-getOption("gift_text_length_max") characters. Only Bold, Italic, Underline, Strikethrough, Spoiler, CustomEmoji, and DateTime entities are allowed. Must be empty if the receiver enabled paid messages

is_private

Bool

Pass true to show gift text and sender only to the gift receiver; otherwise, everyone will be able to see them