tdlib / td

Cross-platform library for building Telegram clients
https://core.telegram.org/tdlib
Boost Software License 1.0
7.11k stars 1.44k forks source link

How to use bot send a message ,then auto reply the message in input box ? #2680

Closed dylanpoe closed 11 months ago

dylanpoe commented 11 months ago

How to use Bot send a message ,then auto reply the message in input box ?

In another words, how to use the draft message api in bot?

In Telegram bots, there's a limitation that prevents bots from automatically inserting text into the user's input box without the user explicitly invoking the bot. This limitation is in place to prevent spam and unwanted behavior.

But Is there any other ways to make the function ?

dylanpoe commented 11 months ago

Should put the issue in https://github.com/tdlib/telegram-bot-api , so I closed this one and open this https://github.com/tdlib/telegram-bot-api/issues/496