Вход Регистрация
Файл: upload/core/vendor/longman/telegram-bot/src/Entities/ReactionCount.php
Строк: 36
<?php

namespace LongmanTelegramBotEntities;

use 
LongmanTelegramBotEntitiesReactionTypeFactory as ReactionTypeFactory;
use 
LongmanTelegramBotEntitiesReactionTypeReactionType;

/**
 * Represents a reaction added to a message along with the number of times it was added.
 *
 * @link https://core.telegram.org/bots/api#reactioncount
 *
 * @method ReactionType getType()       Type of the reaction
 * @method int          getTotalCount() Number of times the reaction was added
 */
class ReactionCount extends Entity
{
    protected function 
subEntities(): array
    {
        return [
            
'type' => ReactionTypeFactory::class,
        ];
    }
}
Онлайн: 0
Реклама