telegram bot prefill text for user to edit -
telegram bot sends me message text snippet, want edit, , send bot further processing.
copy , paste takes time. typing message anew takes time.
ideally i'd press inline button "edit" on bot's message , message text appear in reply input box editing.(a message id attached reply somehow plus).
i tried use deep linking parameters other /start*, doesn't seem work.
can use bot api (or other telegram api) have text ready editing in input box?
it's unpossible in official apps yet. question working drafts - there no methods in both api create them or clear.
nevertheless, fork official app stored on gihub , implement need if prefer hard way, compared copy/past solution seems more easier, isn't it?
upd
i can offer new idea how solve problem - hope helpful.
this switch_inline_query_current_chat field of inlinekeyboardbutton. attach inline button messages need edit. set text field gotten recieved message , after pressing text input area. seems good, take bot's username before text also.
Comments
Post a Comment