Page Menu
Home
Phabricator (Chris)
Search
Configure Global Search
Log In
Files
F627123
PollAnswer.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Authored By
Unknown
Size
921 B
Referenced Files
None
Subscribers
None
PollAnswer.php
View Options
<?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
Details
Attached
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)
Attached To
Mode
R123 php-telegram-bot
Attached
Detach File
Event Timeline