PHP_I Telegram 3811
$hi = json_encode(['keyboard'=>[
[['text'=>"الازرار"],['text'=>"2"]],
[['text'=>"3"],['text'=>"4"]],
]]);

if($text=="hi"){
bot('sendMessage',['chat_id'=>$chat_id,
'text'=>"welcame",
'reply_markup'=>$hi,]);}

if($text=="back"){
bot('sendMessage',['chat_id'=>$chat_id,
'text'=>"welcame to back",
'reply_markup'=>$hi,]);}

ما تريد تستخدم الفاكشن وايضا تريد تختصر الكود من غير تكرار الازرار .

هاي طريقه اخرى راح تختصرلك الازار بدال ما ترجع تكرر بكل مره 📝

هـدوء | @Dev_i 🦅



tgoop.com/php_i/3811
Create:
Last Update:

$hi = json_encode(['keyboard'=>[
[['text'=>"الازرار"],['text'=>"2"]],
[['text'=>"3"],['text'=>"4"]],
]]);

if($text=="hi"){
bot('sendMessage',['chat_id'=>$chat_id,
'text'=>"welcame",
'reply_markup'=>$hi,]);}

if($text=="back"){
bot('sendMessage',['chat_id'=>$chat_id,
'text'=>"welcame to back",
'reply_markup'=>$hi,]);}

ما تريد تستخدم الفاكشن وايضا تريد تختصر الكود من غير تكرار الازرار .

هاي طريقه اخرى راح تختصرلك الازار بدال ما ترجع تكرر بكل مره 📝

هـدوء | @Dev_i 🦅

BY Files-php 📂


Share with your friend now:
tgoop.com/php_i/3811

View MORE
Open in Telegram


Telegram News

Date: |

Find your optimal posting schedule and stick to it. The peak posting times include 8 am, 6 pm, and 8 pm on social media. Try to publish serious stuff in the morning and leave less demanding content later in the day. In handing down the sentence yesterday, deputy judge Peter Hui Shiu-keung of the district court said that even if Ng did not post the messages, he cannot shirk responsibility as the owner and administrator of such a big group for allowing these messages that incite illegal behaviors to exist. Channel login must contain 5-32 characters A Telegram channel is used for various purposes, from sharing helpful content to implementing a business strategy. In addition, you can use your channel to build and improve your company image, boost your sales, make profits, enhance customer loyalty, and more. How to Create a Private or Public Channel on Telegram?
from us


Telegram Files-php 📂
FROM American