The data i want to retrieve is ip address that locate in table sessions. import timeĭb = nnect(host="127.0.0.1", # localhostīot.sendMessage(chat_id, 'Hi, I\'m netrapsystembot')īot.sendMessage(chat_id, random.randint(0,9))īot.sendMessage(chat_id, str(()))īot.sendMessage(chat_id, cur.execute('SELECT ip FROM sessions'))īot = telepot.Bot('617662632:AAEGW74VAvZcjEpVCkiye8KLcv2xmSkt0L4') Telegram Bot Untuk ChatBot menyimpan data ke mysql database. Mysql can connect to the Python and show the data in Python terminal but in telegram, it only shows number of rows only. I have problem, how to retrieve data from Mysql and post to Telegram Bot via Python. Search for jobs related to Membuat bot telegram dengan php or hire on the worlds largest freelancing marketplace with 20m jobs.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |