|
Telebot 9.4
Library for Telegram bot API
|
This object represents a message about a scheduled giveaway. More...
#include <telebot-types.h>
Public Attributes | |
| struct telebot_chat * | chats |
| int | count_chats |
| long | winners_selection_date |
| int | winner_count |
| bool | only_new_members |
| bool | has_public_winners |
| char * | prize_description |
| char ** | country_codes |
| int | count_country_codes |
| int | prize_star_count |
| int | premium_subscription_month_count |
This object represents a message about a scheduled giveaway.
| struct telebot_chat* telebot_giveaway::chats |
The list of chats which the user must join to participate in the giveaway
| char** telebot_giveaway::country_codes |
Optional. A list of two-letter ISO 3166-1 alpha-2 country codes
| bool telebot_giveaway::has_public_winners |
Optional. True, if the list of giveaway winners will be visible to everyone
| bool telebot_giveaway::only_new_members |
Optional. True, if only users who join the chats after the giveaway started should be eligible to win
| int telebot_giveaway::premium_subscription_month_count |
Optional. The number of months the Telegram Premium subscription won from the giveaway will be active for
| char* telebot_giveaway::prize_description |
Optional. Description of additional giveaway prize
| int telebot_giveaway::prize_star_count |
Optional. The number of Telegram Stars to be split between giveaway winners
| int telebot_giveaway::winner_count |
The number of users which are supposed to be selected as winners of the giveaway
| long telebot_giveaway::winners_selection_date |
Point in time (Unix timestamp) when winners of the giveaway will be selected