4.1 KiB
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:
- Issue #113
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?
- How do I listen for messages in a chat group?
- 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:
- Issue #11
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:
- Issue #248
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:
- Issue #108
How do I send multiple message in correct sequence?
Not done. PRs welcome!
Sources:
- Issue #240
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:
- Issue #238
Is this scalable?
Not done. PRs welcome!
Sources:
- Issue #219
How do I listen for messages in a chat group?
Not done. PRs welcome!
Sources:
- Issue #304
How do I know when a user blocks the bot?
Not done. PRs welcome!
Sources:
- Issue #273