Файл: upload/core/vendor/longman/telegram-bot/src/Entities/Giveaway/GiveawayCompleted.php
Строк: 37
<?php
namespace LongmanTelegramBotEntitiesGiveaway;
use LongmanTelegramBotEntitiesEntity;
use LongmanTelegramBotEntitiesMessage;
/**
* This object represents a service message about the completion of a giveaway without public winners.
*
* @link https://core.telegram.org/bots/api#giveawaycompleted
*
* @method int getWinnerCount() Number of winners in the giveaway
* @method int getUnclaimedPrizeCount() Optional. Number of undistributed prizes
* @method Message getGiveawayMessage() Optional. Message with the giveaway that was completed, if it wasn't deleted
*/
class GiveawayCompleted extends Entity
{
protected function subEntities(): array
{
return [
'giveaway_message' => Message::class,
];
}
}