Closed alevdyk closed 7 years ago
Not stupid limitation at all, if you enable MarkDown, you need to escape any _
that should not start a new entity (and you could have use getApiResponse method to get the explanation why it failed.
Closing as it seems to be fixed.
Hi. I have an error in this piece of code in case when type.equals('s') in other situations everything works fine. the problem is the error itself say nothing about what is wrong, I've spent like two hours already and nothing changes. In case type=t it sends the message, in case type=s - no.
here is the sendTextOnly method
and the stack trace
!!!!!!!!!SOLVED!!!!!!!!!!!! finally after 2 hours of painful runs and debugging I find out that _ (underscore) symbol in message text was a problem. kind of stupid limitation, but it works.