raboter icon indicating copy to clipboard operation
raboter copied to clipboard

raboter:send_message/2 fails to connect to Telegram API

Open Romansky42 opened this issue 1 year ago • 0 comments

Getting the following error when calling raboter:send_message/2. I've checked that the library reads the Bot Token correctly. The API is also reachable when trying with curl.

** exception error: no match of right hand side value {error,{failed_connect,[{to_address,{"api.telegram.org", 443}}, {inet,[inet],{options,{verify,0}}}]}} in function raboter:set_command/2 (/home/roman/Documents/Erlang/CQRS_Event_Store/_build/default/lib/raboter/src/raboter.erl, line 99)

Romansky42 avatar Oct 02 '23 07:10 Romansky42