|
Telebot 9.4
Library for Telegram bot API
|
This object represents a message about the completion of a giveaway with public winners. More...
#include <telebot-types.h>
Public Attributes | |
| struct telebot_chat * | chat |
| int | giveaway_message_id |
| long | winners_selection_date |
| int | winner_count |
| struct telebot_user * | winners |
| int | count_winners |
| int | additional_chat_count |
| int | prize_star_count |
| int | premium_subscription_month_count |
| int | unclaimed_prize_count |
| bool | only_new_members |
| bool | was_refunded |
| char * | prize_description |
This object represents a message about the completion of a giveaway with public winners.
| int telebot_giveaway_winners::additional_chat_count |
Optional. The number of other chats the user had to join in order to be eligible for the giveaway
| struct telebot_chat* telebot_giveaway_winners::chat |
The chat that created the giveaway
| int telebot_giveaway_winners::giveaway_message_id |
Identifier of the message with the giveaway in the chat
| bool telebot_giveaway_winners::only_new_members |
Optional. True, if only users who had joined the chats after the giveaway started were eligible to win
| int telebot_giveaway_winners::premium_subscription_month_count |
Optional. The number of months the Telegram Premium subscription won from the giveaway will be active for
| char* telebot_giveaway_winners::prize_description |
Optional. Description of additional giveaway prize
| int telebot_giveaway_winners::prize_star_count |
Optional. The number of Telegram Stars that were split between giveaway winners
| int telebot_giveaway_winners::unclaimed_prize_count |
Optional. Number of undistributed prizes
| bool telebot_giveaway_winners::was_refunded |
Optional. True, if the giveaway was canceled because the payment for it was refunded
| int telebot_giveaway_winners::winner_count |
Total number of winners in the giveaway
| struct telebot_user* telebot_giveaway_winners::winners |
List of winners of the giveaway
| long telebot_giveaway_winners::winners_selection_date |
Point in time (Unix timestamp) when winners of the giveaway were selected