🌟 تیکه کد ریکشن زدن به دستور یا پیام خاص
if($text == "/test") {
$emoji = "👍";
$url = "https://api.telegram.org/bot$api/setMessageReaction";
$data = ["chat_id" => $chatid,"message_id" => $mids,"reaction" => [['type' => 'emoji', 'emoji' => $emoji]],'is_big' => false];
#$options
$options = ['http' => [
'header' => "Content-type: application/json\r\n",'method' => 'POST',
'content' => json_encode($data)
]];
$context = stream_context_create($options);
$response = file_get_contents($url, false, $context);
bot("sendmessage", [
"chat_id" => $chatid,
"text" => "welcome",
'disable_web_page_preview' => true,
'parse_mode' => "markdown",
'reply_to_message_id' => $mids,
]);
}برای تغییر پیام ارسالی، دستور /test را ویرایش کنید همچنین، برای تغییر ریکشن به پیام، اموجی 👍 ویرایش کنید
📢 @TmDarkMinds
💬 @BlackMindsGP