Свойство | Тип | Описание | |
---|---|---|---|
$audio | TelegramBot\Api\Types\Audio | Optional. Message is an audio file, information about the file | |
$caption | string | Optional. Text description of the video (usually empty) | |
$channelChatCreated | boolean | Optional. Service message: the channel has been created | |
$chat | Conversation the message belongs to — user in case of a private message, GroupChat in case of a group | ||
$contact | TelegramBot\Api\Types\Contact | Optional. Message is a shared contact, information about the contact | |
$date | integer | Date the message was sent in Unix time | |
$deleteChatPhoto | boolean | Optional. Informs that the group photo was deleted | |
$document | TelegramBot\Api\Types\Document | Optional. Message is a general file, information about the file | |
$entities | array | array of \TelegramBot\Api\Types\MessageEntity | |
$forwardDate | integer | Optional. For forwarded messages, date the original message was sent in Unix time | |
$forwardFrom | Optional. For forwarded messages, sender of the original message | ||
$from | Optional. Sender name. Can be empty for messages sent to channels | ||
$groupChatCreated | boolean | Optional. Informs that the group has been created | |
$leftChatMember | Optional. A member was removed from the group, information about them (this member may be bot itself) | ||
$location | TelegramBot\Api\Types\Location | Optional. Message is a shared location, information about the location | |
$map | array | ||
$messageId | integer | Unique message identifier | |
$migrateFromChatId | integer | Optional. The supergroup has been migrated from a group with the specified identifier, not exceeding 1e13 by absolute value | |
$migrateToChatId | integer | Optional. The group has been migrated to a supergroup with the specified identifier, not exceeding 1e13 by absolute value | |
$newChatMember | Optional. A new member was added to the group, information about them (this member may be bot itself) | ||
$newChatPhoto | mixed | Optional. A group photo was change to this value | |
$newChatTitle | string | Optional. A group title was changed to this value | |
$photo | array | Optional. Message is a photo, available sizes of the photo array of \TelegramBot\Api\Types\Photo | |
$pinnedMessage | Optional. Specified message was pinned.Note that the Message object in this field will not contain further reply_to_message fields even if it is itself a reply. | ||
$replyToMessage | Optional. For replies, the original message. Note that the Message object in this field will not contain further reply_to_message fields even if it itself is a reply. | ||
$requiredParams | array | ||
$sticker | TelegramBot\Api\Types\Sticker | Optional. Message is a sticker, information about the sticker | |
$supergroupChatCreated | boolean | Optional. Service message: the supergroup has been created | |
$text | string | Optional. For text messages, the actual UTF-8 text of the message | |
$venue | Optional. Message is a venue, information about the venue | ||
$video | TelegramBot\Api\Types\Video | Optional. Message is a video, information about the video | |
$voice | TelegramBot\Api\Types\Voice | Optional. Message is a voice message, information about the file |
Метод | Описание | |
---|---|---|
getAudio ( ) : TelegramBot\Api\Types\Audio | ||
getCaption ( ) : string | ||
getChat ( ) : |
||
getContact ( ) : TelegramBot\Api\Types\Contact | ||
getDate ( ) : integer | ||
getDocument ( ) : TelegramBot\Api\Types\Document | ||
getEntities ( ) : array | ||
getForwardDate ( ) : integer | ||
getForwardFrom ( ) : |
||
getFrom ( ) : |
||
getLeftChatMember ( ) : |
||
getLocation ( ) : TelegramBot\Api\Types\Location | ||
getMessageId ( ) : integer | ||
getMigrateFromChatId ( ) : integer | ||
getMigrateToChatId ( ) : integer | ||
getNewChatMember ( ) : |
||
getNewChatPhoto ( ) : array | ||
getNewChatTitle ( ) : string | ||
getPhoto ( ) : array | ||
getPinnedMessage ( ) : |
||
getReplyToMessage ( ) : |
||
getSticker ( ) : TelegramBot\Api\Types\Sticker | ||
getText ( ) : string | ||
getVenue ( ) : |
||
getVideo ( ) : TelegramBot\Api\Types\Video | ||
getVoice ( ) : TelegramBot\Api\Types\Voice | ||
isChannelChatCreated ( ) : boolean | ||
isDeleteChatPhoto ( ) : boolean | ||
isGroupChatCreated ( ) : boolean | ||
isSupergroupChatCreated ( ) : boolean | ||
setAudio ( TelegramBot\Api\Types\Audio $audio ) | ||
setCaption ( string $caption ) | ||
setChannelChatCreated ( boolean $channelChatCreated ) | ||
setChat ( |
||
setContact ( TelegramBot\Api\Types\Contact $contact ) | ||
setDate ( integer $date ) | ||
setDeleteChatPhoto ( boolean $deleteChatPhoto ) | ||
setDocument ( TelegramBot\Api\Types\Document $document ) | ||
setEntities ( array $entities ) | ||
setForwardDate ( integer $forwardDate ) | ||
setForwardFrom ( |
||
setFrom ( |
||
setGroupChatCreated ( boolean $groupChatCreated ) | ||
setLeftChatMember ( |
||
setLocation ( TelegramBot\Api\Types\Location $location ) | ||
setMessageId ( integer $messageId ) | ||
setMigrateFromChatId ( integer $migrateFromChatId ) | ||
setMigrateToChatId ( integer $migrateToChatId ) | ||
setNewChatMember ( |
||
setNewChatPhoto ( array $newChatPhoto ) | ||
setNewChatTitle ( string $newChatTitle ) | ||
setPhoto ( array $photo ) | ||
setPinnedMessage ( |
||
setReplyToMessage ( |
||
setSticker ( TelegramBot\Api\Types\Sticker $sticker ) | ||
setSupergroupChatCreated ( boolean $supergroupChatCreated ) | ||
setText ( string $text ) | ||
setVenue ( |
||
setVideo ( TelegramBot\Api\Types\Video $video ) | ||
setVoice ( TelegramBot\Api\Types\Voice $voice ) |
public getAudio ( ) : TelegramBot\Api\Types\Audio | ||
Результат | TelegramBot\Api\Types\Audio |
public getContact ( ) : TelegramBot\Api\Types\Contact | ||
Результат | TelegramBot\Api\Types\Contact |
public getDocument ( ) : TelegramBot\Api\Types\Document | ||
Результат | TelegramBot\Api\Types\Document |
public getLocation ( ) : TelegramBot\Api\Types\Location | ||
Результат | TelegramBot\Api\Types\Location |
public getSticker ( ) : TelegramBot\Api\Types\Sticker | ||
Результат | TelegramBot\Api\Types\Sticker |
public getVideo ( ) : TelegramBot\Api\Types\Video | ||
Результат | TelegramBot\Api\Types\Video |
public getVoice ( ) : TelegramBot\Api\Types\Voice | ||
Результат | TelegramBot\Api\Types\Voice |
public isSupergroupChatCreated ( ) : boolean | ||
Результат | boolean |
public setAudio ( TelegramBot\Api\Types\Audio $audio ) | ||
$audio | TelegramBot\Api\Types\Audio |
public setChannelChatCreated ( boolean $channelChatCreated ) | ||
$channelChatCreated | boolean |
public setContact ( TelegramBot\Api\Types\Contact $contact ) | ||
$contact | TelegramBot\Api\Types\Contact |
public setDeleteChatPhoto ( boolean $deleteChatPhoto ) | ||
$deleteChatPhoto | boolean |
public setDocument ( TelegramBot\Api\Types\Document $document ) | ||
$document | TelegramBot\Api\Types\Document |
public setForwardDate ( integer $forwardDate ) | ||
$forwardDate | integer |
public setGroupChatCreated ( boolean $groupChatCreated ) | ||
$groupChatCreated | boolean |
public setLeftChatMember ( |
||
$leftChatMember |
public setLocation ( TelegramBot\Api\Types\Location $location ) | ||
$location | TelegramBot\Api\Types\Location |
public setMigrateFromChatId ( integer $migrateFromChatId ) | ||
$migrateFromChatId | integer |
public setMigrateToChatId ( integer $migrateToChatId ) | ||
$migrateToChatId | integer |
public setNewChatMember ( |
||
$newChatMember |
public setNewChatPhoto ( array $newChatPhoto ) | ||
$newChatPhoto | array |
public setNewChatTitle ( string $newChatTitle ) | ||
$newChatTitle | string |
public setPinnedMessage ( |
||
$pinnedMessage |
public setReplyToMessage ( |
||
$replyToMessage |
public setSticker ( TelegramBot\Api\Types\Sticker $sticker ) | ||
$sticker | TelegramBot\Api\Types\Sticker |
public setSupergroupChatCreated ( boolean $supergroupChatCreated ) | ||
$supergroupChatCreated | boolean |
public setVideo ( TelegramBot\Api\Types\Video $video ) | ||
$video | TelegramBot\Api\Types\Video |
public setVoice ( TelegramBot\Api\Types\Voice $voice ) | ||
$voice | TelegramBot\Api\Types\Voice |
protected Audio,TelegramBot\Api\Types $audio | ||
Результат | TelegramBot\Api\Types\Audio |
protected bool $channelChatCreated | ||
Результат | boolean |
protected Chat,TelegramBot\Api\Types $chat | ||
Результат |
protected Contact,TelegramBot\Api\Types $contact | ||
Результат | TelegramBot\Api\Types\Contact |
protected int $date | ||
Результат | integer |
protected bool $deleteChatPhoto | ||
Результат | boolean |
protected Document,TelegramBot\Api\Types $document | ||
Результат | TelegramBot\Api\Types\Document |
protected array $entities | ||
Результат | array |
protected int $forwardDate | ||
Результат | integer |
protected User,TelegramBot\Api\Types $forwardFrom | ||
Результат |
protected User,TelegramBot\Api\Types $from | ||
Результат |
protected bool $groupChatCreated | ||
Результат | boolean |
protected User,TelegramBot\Api\Types $leftChatMember | ||
Результат |
protected Location,TelegramBot\Api\Types $location | ||
Результат | TelegramBot\Api\Types\Location |
protected int $migrateFromChatId | ||
Результат | integer |
protected int $migrateToChatId | ||
Результат | integer |
protected User,TelegramBot\Api\Types $newChatMember | ||
Результат |
protected mixed $newChatPhoto | ||
Результат | mixed |
protected string $newChatTitle | ||
Результат | string |
protected array $photo | ||
Результат | array |
protected Message,TelegramBot\Api\Types $pinnedMessage | ||
Результат |
protected Message,TelegramBot\Api\Types $replyToMessage | ||
Результат |
protected static array $requiredParams | ||
Результат | array |
protected Sticker,TelegramBot\Api\Types $sticker | ||
Результат | TelegramBot\Api\Types\Sticker |
protected bool $supergroupChatCreated | ||
Результат | boolean |
protected string $text | ||
Результат | string |
protected Venue,TelegramBot\Api\Types $venue | ||
Результат |
protected Video,TelegramBot\Api\Types $video | ||
Результат | TelegramBot\Api\Types\Video |