2
0
mirror of https://github.com/yagop/node-telegram-bot-api synced 2025-08-22 09:57:10 +00:00
2017-01-20 09:13:18 +03:00

3.6 KiB

Help Information


Common Pitfalls

  1. Failing to receive reply with ReplyToMessage

Failing to receive reply with ReplyToMessage

The user has to manually reply to your message, by tapping on the bot's message and select Reply.

Sources:


Frequently Asked Questions

Check out all questions ever asked on our Github Issues.

  1. How do I send GIFs?
  2. Why and When do I need a certificate when using WebHooks?
  3. How do I know when a user leaves a chat?
  4. What does this error mean?
  5. How do I know the selected option in reply keyboard?
  6. How do I send multiple message in correct sequence?
  7. How do I run my bot behind a proxy?
  8. Can you add feature X to the library?
  9. Is this scalable?

How do I send GIFs?

You might be trying to send your animated GIFs using TelegramBot#sendPhoto(). The method mostly supports static images. As noted by the community, it seems you need to send them as documents, using TelegramBot#sendDocument().

bot.sendDocument(chatId, "cat.gif");

Sources:


Why and When do I need a certificate when using WebHooks?

Not Done. Send PR please!

Sources:


How do I know when a user leaves a chat?

Not Done. Send PR please!

Sources:


What does this error mean?

Not Done. Send PR please!

Sources:


How do I know the selected option in reply keyboard?

Not Done. Send PR please!

Sources:


How do I send multiple message in correct sequence?

Not Done. Send PR please!

Sources:


How do I run my bot behind a proxy?

Not Done. Send PR please!

Sources:


Can you add feature X to the library?

Not Done. Send PR please!

Sources:


Is this scalable?

Not Done. Send PR please!