Telegram send message to an username

Would like to send a message (from a telegram bot) directly to an username (and not using Chat ID)
I’m getting the username from an API that i’m calling with the HTTP, after i want send a mail and a telegram message. The telegram message doesn’t work, i received error 400. There is any way to add the @username instead of the ID? do you have any solution to store this?

1 Like