I don't know coding, but I tried to "blindly" fix the code, to delete pics from telegram messages .
I believe its something about "telegram_bot_sendimage"
I tried to modify line in many ways or delete it:
tg = telegram_bot_sendimage(item['category_picture'], message),
and many other things
but with partial success - the best I could do to change line 208 to "tg = telegram_bot_sendtext(message)"
but I still get some generic TGTG picture. It would be nice if I could delete it completly.
---edit:
As far as I read about telegram API I should add parameter "disable_web_page_preview=True",
but when I added it to def telegram_bot_sendtext, to make it look like "def telegram_bot_sendtext(bot_message, only_to_admin=True, disable_web_page_preview=True):" - it still shows me a preview.
I don't know coding, but I tried to "blindly" fix the code, to delete pics from telegram messages . I believe its something about "telegram_bot_sendimage"
I tried to modify line in many ways or delete it: tg = telegram_bot_sendimage(item['category_picture'], message),
and many other things
but with partial success - the best I could do to change line 208 to "tg = telegram_bot_sendtext(message)" but I still get some generic TGTG picture. It would be nice if I could delete it completly.
---edit:
As far as I read about telegram API I should add parameter "disable_web_page_preview=True", but when I added it to def telegram_bot_sendtext, to make it look like "def telegram_bot_sendtext(bot_message, only_to_admin=True, disable_web_page_preview=True):" - it still shows me a preview.
Can you give me a clue?