public function getFrom()
    {
        if ($this->has('message')) {
            return $this->getMessage()->getFrom();
        } elseif ($this->has('edited_message')) {
            return $this->getEditedMessage()->getFrom();
        } elseif ($this->has('inline_query')) {
            return $this->getInlineQuery()->getFrom();
        } elseif ($this->has('chosen_inline_result')) {
            return $this->getChosenInlineResult()->getFrom();
        } elseif ($this->has('callback_query')) {
            return $this->getCallbackQuery()->getFrom();
        } elseif ($this->has('channel_post')) {
            return $this->getChannelPost()->getFrom();
        } elseif ($this->has('edited_channel_post')) {
            return $this->getEditedChannelPost()->getFrom();
        }
    }