Page MenuHomePhabricator (Chris)

CallbackQuery.php
No OneTemporary

Authored By
Unknown
Size
1 KB
Referenced Files
None
Subscribers
None

CallbackQuery.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 CallbackQuery.
*
* @link https://core.telegram.org/bots/api#callbackquery
*
* @method string getId() Unique identifier for this query
* @method User getFrom() Sender
* @method Message getMessage() Optional. Message with the callback button that originated the query. Note that message content and message date will not be available if the message is too old
* @method string getInlineMessageId() Optional. Identifier of the message sent via the bot in inline mode, that originated the query
* @method string getData() Data associated with the callback button. Be aware that a bad client can send arbitrary data in this field
*/
class CallbackQuery extends Entity
{
/**
* {@inheritdoc}
*/
public function subEntities()
{
return [
'from' => User::class,
'message' => Message::class,
];
}
}

File Metadata

Mime Type
text/x-php
Expires
Sat, Nov 14, 10:58 PM (1 d, 24 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
139411
Default Alt Text
CallbackQuery.php (1 KB)

Event Timeline