Toggle navigation
Hot Examples
PT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Pesquisar
Página Inicial
Longman
TelegramBot
Request
getChat
Longman\TelegramBot\Request::getChat PHP Method
Request Class Documentation
Exibir arquivo
Open project: akalongman/php-telegram-bot
getChat()
public
static
method
Use this method to get up to date information about the chat (current name of the user for one-on-one conversations, current username of a user, group or channel, etc.). Returns a Chat object on success.
See link:
https://core.telegram.org/bots/api#getchat
public
static
getChat
(
array
$data
) :
ServerResponse
$data
array
return
Longman\TelegramBot\Entities\ServerResponse
public static function getChat(array $data) { return self::send('getChat', $data); }
Request
answerCallbackQuery
answerInlineQuery
assignEncodedFile
downloadFile
editMessageCaption
editMessageReplyMarkup
editMessageText
emptyResponse
encodeFile
ensureNonEmptyData
ensureValidAction
execute
forwardMessage
generateGeneralFakeServerResponse
getChat
getChatAdministrators
getChatMember
getChatMembersCount
getFile
getInput
getMe
getUpdates
getUserProfilePhotos
getWebhookInfo
initialize
kickChatMember
leaveChat
send
sendAudio
sendChatAction
sendContact
sendDocument
sendLocation
sendMessage
sendPhoto
sendSticker
sendToActiveChats
sendVenue
sendVideo
sendVoice
setUpRequestParams
setWebhook
unbanChatMember