Свойство | Type | Description | |
---|---|---|---|
$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 |
Méthode | Description | |
---|---|---|
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 | ||
Résultat | TelegramBot\Api\Types\Audio |
public getContact ( ) : TelegramBot\Api\Types\Contact | ||
Résultat | TelegramBot\Api\Types\Contact |
public getDocument ( ) : TelegramBot\Api\Types\Document | ||
Résultat | TelegramBot\Api\Types\Document |
public getLocation ( ) : TelegramBot\Api\Types\Location | ||
Résultat | TelegramBot\Api\Types\Location |
public getSticker ( ) : TelegramBot\Api\Types\Sticker | ||
Résultat | TelegramBot\Api\Types\Sticker |
public getVideo ( ) : TelegramBot\Api\Types\Video | ||
Résultat | TelegramBot\Api\Types\Video |
public getVoice ( ) : TelegramBot\Api\Types\Voice | ||
Résultat | TelegramBot\Api\Types\Voice |
public isSupergroupChatCreated ( ) : boolean | ||
Résultat | 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 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 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 | ||
Résultat | TelegramBot\Api\Types\Audio |
protected bool $channelChatCreated | ||
Résultat | boolean |
protected Chat,TelegramBot\Api\Types $chat | ||
Résultat |
protected Contact,TelegramBot\Api\Types $contact | ||
Résultat | TelegramBot\Api\Types\Contact |
protected int $date | ||
Résultat | integer |
protected bool $deleteChatPhoto | ||
Résultat | boolean |
protected Document,TelegramBot\Api\Types $document | ||
Résultat | TelegramBot\Api\Types\Document |
protected array $entities | ||
Résultat | array |
protected int $forwardDate | ||
Résultat | integer |
protected User,TelegramBot\Api\Types $forwardFrom | ||
Résultat |
protected User,TelegramBot\Api\Types $from | ||
Résultat |
protected bool $groupChatCreated | ||
Résultat | boolean |
protected User,TelegramBot\Api\Types $leftChatMember | ||
Résultat |
protected Location,TelegramBot\Api\Types $location | ||
Résultat | TelegramBot\Api\Types\Location |
protected int $messageId | ||
Résultat | integer |
protected int $migrateFromChatId | ||
Résultat | integer |
protected int $migrateToChatId | ||
Résultat | integer |
protected User,TelegramBot\Api\Types $newChatMember | ||
Résultat |
protected mixed $newChatPhoto | ||
Résultat | mixed |
protected string $newChatTitle | ||
Résultat | string |
protected array $photo | ||
Résultat | array |
protected Message,TelegramBot\Api\Types $pinnedMessage | ||
Résultat |
protected Message,TelegramBot\Api\Types $replyToMessage | ||
Résultat |
protected static array $requiredParams | ||
Résultat | array |
protected Sticker,TelegramBot\Api\Types $sticker | ||
Résultat | TelegramBot\Api\Types\Sticker |
protected bool $supergroupChatCreated | ||
Résultat | boolean |
protected string $text | ||
Résultat | string |
protected Venue,TelegramBot\Api\Types $venue | ||
Résultat |
protected Video,TelegramBot\Api\Types $video | ||
Résultat | TelegramBot\Api\Types\Video |