Page Menu
Home
Phabricator (Chris)
Search
Configure Global Search
Log In
Files
F624855
Poll.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
876 B
Referenced Files
None
Subscribers
None
Poll.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 Poll
*
* This entity contains information about a poll.
*
* @link https://core.telegram.org/bots/api#poll
*
* @method string getId() Unique poll identifier
* @method string getQuestion() Poll question, 1-255 characters
* @method PollOption[] getOptions() List of poll options
* @method bool getIsClosed() True, if the poll is closed
*/
class
Poll
extends
Entity
{
/**
* {@inheritdoc}
*/
protected
function
subEntities
(
)
{
return
[
'options'
=>
[
PollOption
::
class
]
,
]
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, Nov 14, 10:47 PM (1 d, 9 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
133143
Default Alt Text
Poll.php (876 B)
Attached To
Mode
R123 php-telegram-bot
Attached
Detach File
Event Timeline