3.6 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.
- How do I send GIFs?
- Why and When do I need a certificate when using WebHooks?
- How do I know when a user leaves a chat?
- What does this error mean?
- How do I know the selected option in reply keyboard?
- How do I send multiple message in correct sequence?
- How do I run my bot behind a proxy?
- Can you add feature X to the library?
- Is this scalable?
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:
- Issue #63: https://github.com/yagop/node-telegram-bot-api/issues/63
- Issue #125: https://github.com/yagop/node-telegram-bot-api/issues/125
How do I know when a user leaves a chat?
Not Done. Send PR please!
Sources:
Not Done. Send PR please!
Sources:
- Issue #73: https://github.com/yagop/node-telegram-bot-api/issues/73
- Issue #99: https://github.com/yagop/node-telegram-bot-api/issues/99
- Issue #101: https://github.com/yagop/node-telegram-bot-api/issues/101
- Issue #107: https://github.com/yagop/node-telegram-bot-api/issues/107
- Issue #156: https://github.com/yagop/node-telegram-bot-api/issues/156
- Issue #170: https://github.com/yagop/node-telegram-bot-api/issues/170
- Issue #244: https://github.com/yagop/node-telegram-bot-api/issues/244
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:
- Issue #122: https://github.com/yagop/node-telegram-bot-api/issues/122
- Issue #253: https://github.com/yagop/node-telegram-bot-api/issues/253
Can you add feature X to the library?
Not Done. Send PR please!
Sources:
Not Done. Send PR please!