bot->sendChatAction($this->message->getChat()->getId(), "upload_photo"); $this->bot->sendPhoto( $this->message->getChat()->getId(), $url, null, $this->message->getMessageId(), null, null, "HTML" ); } }