Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

info.mukel.telegrambot4s.api.TelegramApiException: Not Found #60

Closed
dimparf opened this issue Jun 28, 2018 · 1 comment
Closed

info.mukel.telegrambot4s.api.TelegramApiException: Not Found #60

dimparf opened this issue Jun 28, 2018 · 1 comment

Comments

@dimparf
Copy link

dimparf commented Jun 28, 2018

Hi!
I'm making a request with SendMessage, but info.mukel.telegrambot4s.api.TelegramApiException: Not Found
I looked into the code of info.mukel.telegrambot4s.methods.ApiRequest[R] and found this:
def methodName: String = getClass.getSimpleName.reverse.dropWhile(_ == '$').reverse
but this code return SendMessage, expected sendMessage (in Telegram API).

@mukel
Copy link
Member

mukel commented Jun 28, 2018

The Telegram Bot API is case-insensitive:
Maybe the chat_id is not valid anymore. How are you sending the SendMessage request?

@mukel mukel closed this as completed Oct 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants