Page MenuHomePhabricator (Chris)

PollAnswer.php
No OneTemporary

Authored By
Unknown
Size
921 B
Referenced Files
None
Subscribers
None

PollAnswer.php

<?php
/**
* This file is part of the TelegramBot package.
*
* (c) Avtandil Kikabidze aka LONGMAN <akalongman@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Longman\TelegramBot\Entities;
/**
* Class PollAnswer
*
* This entity represents an answer of a user in a non-anonymous poll.
*
* @link https://core.telegram.org/bots/api#pollanswer
*
* @method string getPollId() Unique poll identifier
* @method User getUser() The user, who changed the answer to the poll
* @method array getOptionIds() 0-based identifiers of answer options, chosen by the user. May be empty if the user retracted their vote.
*/
class PollAnswer extends Entity
{
/**
* {@inheritdoc}
*/
protected function subEntities()
{
return [
'user' => User::class,
];
}
}

File Metadata

Mime Type
text/x-php
Expires
Sun, Nov 15, 1:38 AM (1 d, 20 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
137408
Default Alt Text
PollAnswer.php (921 B)

Event Timeline