it sends  text and inline_keyb s many times not in one place
                  
                  
                  
                  
                  
                  
                  
                  
                  for($a=0; $a<=17 ; $a++){
                  
                  
                  bot('sendMessage', [
                  
                  
                          'chat_id' => $chat_id,
                  
                  
                          'message_id'=>$message_id,
                  
                  
                          'text' =>"choose one bellow",
                  
                  
                          'parse_mode' => 'HTML',
                  
                  
                          
                  
                  
                          'reply_markup' => json_encode([
                  
                  
                          'inline_keyboard' => [
                  
                  
                  
                  
                  
                  [
                  
                  
                  ['text'=>$js_link['Results'][$a]['Container']."_".$js_link['Results'][$a]['quality'], 'url'=> $js_link['Results'][$a]['link']],
                  
                  
                  ['text' => "📡 view live", 'web_app' => ['url' =>$js_link['Results'][$a]['link']]]
                  
                  
                  ],
                  
                  
                  
                  
                  
                  ]
                  
                  
                  ])
                  
                  
                  ]);
                  
                  
                  }
                  
                  
                  
                  
                  
                  
                  
                  
                  please help me how i fix it?
                  
                  
                  i wana keyboards be in one column not to be sent 17 times
                  
                  
                
> for($a=0; $a<=17 ; $a++){ it's exactly many times or what do you mean?
i wana expand them and make 1=>17 inlines in one text
i mean in one message
i mean in one message with 17 inline keyboards
it make them automatically
Обсуждают сегодня