Added card self view
This commit is contained in:
parent
1fa1de01d4
commit
02e002ba96
|
@ -1342,6 +1342,11 @@ switch ($DATA["message"]["chat"]["id"]) {
|
||||||
case "me":
|
case "me":
|
||||||
API("sendMessage", ["chat_id" => $DATA["message"]["chat"]["id"], "text" => makeList($u->toArray()), "reply_to_message_id" => $DATA["message"]["message_id"]]);
|
API("sendMessage", ["chat_id" => $DATA["message"]["chat"]["id"], "text" => makeList($u->toArray()), "reply_to_message_id" => $DATA["message"]["message_id"]]);
|
||||||
break;
|
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":
|
case "edit":
|
||||||
$i = 1;
|
$i = 1;
|
||||||
$final = whatToModify($correl);
|
$final = whatToModify($correl);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user