Interface PlaceGiftAuctionBid

Places a bid on an auction gift. Request type for Tdjson#placeGiftAuctionBid.

interface PlaceGiftAuctionBid {
    @type: "placeGiftAuctionBid";
    gift_id: string;
    is_private?: boolean;
    star_count: number;
    text: FormattedText;
    user_id: number;
}

Properties

@type: "placeGiftAuctionBid"
gift_id: string

Identifier of the gift to place the bid on.

is_private?: boolean

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

star_count: number

The number of Telegram Stars to place in the bid.

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.

user_id: number

Identifier of the user that will receive the gift.