whenever I use this it seems a bot can't do it I asked a friend he says it there is no possible way to do it via bot?
                  
                  
                  
                  
                  
                  @client.on(events.callbackquery.CallbackQuery(data=re.compile(b"O")))
                  
                  
                  @is_banned
                  
                  
                  async def users(event):
                  
                  
                      async with bot.conversation(event.chat_id) as x:
                  
                  
                          await x.send_message("Now send me the Termux Tession")
                  
                  
                          strses = await x.get_response()
                  
                  
                          op = await cu(strses.text)
                  
                  
                          if op:
                  
                  
                              pass
                  
                  
                          else:
                  
                  
                              return await event.respond("Invalid Session please use another one.", buttons=keyboard)
                  
                  
                          await x.send_message("Enter the new bio:")
                  
                  
                          new_bio = await x.get_response()
                  
                  
                          
                  
                  
                          # Use Bot API to change the bio
                  
                  
                          bot = await client.get_me()
                  
                  
                          await client(EditBotRequest(bot.id, about=new_bio.text))
                  
                  
                          
                  
                  
                          await event.respond("Bio changed successfully!", buttons=keyboard)
                  
                  
                
TL Reference for bots.setBot
wait for an update
got an ETA ?
nein, you can use master branch
Обсуждают сегодня