I decided to use telegram_text as opposed to telegram_image because it's not compatible with my system and i've got an issue. When you have pool with drives added via UID, and UID has _ in them, telegram treats it as a markdown and due to not matching number of these telegram returns error. Fix is to replace all _ characters with \_ in sed. I added simple
MESSAGE=$(cat - | sed '1s/\(.*\)/*\1*/' | sed 's/_/\\_/g')
and now everything works just fine. Could you fix it?
I decided to use
telegram_textas opposed totelegram_imagebecause it's not compatible with my system and i've got an issue. When you have pool with drives added via UID, and UID has_in them, telegram treats it as a markdown and due to not matching number of these telegram returns error. Fix is to replace all_characters with\_in sed. I added simpleMESSAGE=$(cat - | sed '1s/\(.*\)/*\1*/' | sed 's/_/\\_/g')and now everything works just fine. Could you fix it?