raboter
raboter copied to clipboard
raboter:send_message/2 fails to connect to Telegram API
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)