$get = file_get_contents("http://api.telegram.org/bot".$token."/getChat?chat_id=".$from_id."");
$js = json_decode($get);
$res = $js->result;
$result = $res->active_usernames;
if($text=="يوزري"){
foreach($result as $username){
$userg .= "@$username , ";
}
bot('sendmessage',[
'chat_id'=>$chat_id,
'text'=>"يوزرك : ⬇️
- - -
$userg
",
'reply_to_message_id'=>$message->message_id,
]);
}
- - -
Dev : @ccccXc
$js = json_decode($get);
$res = $js->result;
$result = $res->active_usernames;
if($text=="يوزري"){
foreach($result as $username){
$userg .= "@$username , ";
}
bot('sendmessage',[
'chat_id'=>$chat_id,
'text'=>"يوزرك : ⬇️
- - -
$userg
",
'reply_to_message_id'=>$message->message_id,
]);
}
- - -
Dev : @ccccXc