dockerized_openAger/nodered/rootfs/data/node_modules/node-telegram-bot-api/doc/help.md
2020-10-17 18:42:50 +02:00

4.1 KiB

Help Information

Common Pitfalls

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?
  10. How do I listen for messages in a chat group?
  11. How do I know when a user blocks the bot?

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. PRs welcome!

Sources:

How do I know when a user leaves a chat?

Not done. PRs welcome!

Sources:

What does this error mean?

Not complete. PRs welcome!

Sources:

How do I know the selected option in reply keyboard?

Not done. PRs welcome!

Sources:

How do I send multiple message in correct sequence?

Not done. PRs welcome!

Sources:

How do I run my bot behind a proxy?

Not done. PRs welcome!

Sources:

Can you add feature X to the library?

Not done. PRs welcome!

Sources:

Is this scalable?

Not done. PRs welcome!

Sources:

How do I listen for messages in a chat group?

Not done. PRs welcome!

Sources:

How do I know when a user blocks the bot?

Not done. PRs welcome!

Sources: