bot->sendChatAction($this->message->getChat()->getId(), "upload_photo"); $this->bot->sendPhoto( $this->message->getChat()->getId(), "https://thispersondoesnotexist.com/image?v=" . bin2hex(random_bytes(10)) . time(), null, $this->message->getMessageId(), null, null, "HTML" ); } }