public function ApiClient::whoAmI in Rocket.Chat 8.2
Same name and namespace in other branches
- 8 modules/rocket_chat_api/src/RocketChat/ApiClient.php \Drupal\rocket_chat_api\RocketChat\ApiClient::whoAmI()
Retrieve the information about myself, the 'me' command.
Return value
array Result array.
File
- modules/
rocket_chat_api/ src/ RocketChat/ ApiClient.php, line 320
Class
- ApiClient
- Class ApiClient.
Namespace
Drupal\rocket_chat_api\RocketChatCode
public function whoAmI() {
return $this
->getFromRocketChat('me');
}