Ejemplo n.º 1
0
 /**
  * @inheritdoc
  */
 public function getMe()
 {
     return $this->getResult('getMe', [], function (stdClass $User) {
         return User::initializeByObject($User);
     });
 }
Ejemplo n.º 2
0
 /**
  * @param stdClass $Object message data object
  * @return $this self instance
  */
 private function trySetLeftChatParticipant(stdClass $Object)
 {
     if (isset($Object->left_chat_participant)) {
         $this->LeftChatParticipant = User::initializeByObject($Object->left_chat_participant);
     }
     return $this;
 }