diff --git a/src/index.php b/src/index.php index 3890f48..e92956c 100644 --- a/src/index.php +++ b/src/index.php @@ -1342,6 +1342,11 @@ switch ($DATA["message"]["chat"]["id"]) { case "me": API("sendMessage", ["chat_id" => $DATA["message"]["chat"]["id"], "text" => makeList($u->toArray()), "reply_to_message_id" => $DATA["message"]["message_id"]]); break; + case "card": + photo_id_by_user($p, $DATA["message"]["chat"]["id"]); + API("sendChatAction", ["chat_id" => $DATA["message"]["chat"]["id"], "action" => "upload_photo"]); + API("sendPhoto", ["chat_id" => $DATA["message"]["chat"]["id"], "photo" => "https://webport.altervista.org/bots/telegram/lgbt/fetchCard.php?pass=737373737361113273&id=" . $e->getId() . "&int=" . random_int(0, 10000), "reply_to_message_id" => $DATA["message"]["message_id"]]); + break; case "edit": $i = 1; $final = whatToModify($correl);