smartnode / telebot

Telegram Bot API in C
https://elmurod.net/telebot
Apache License 2.0
162 stars 38 forks source link

Return response to caller #47

Closed nekijbt closed 2 years ago

nekijbt commented 3 years ago

Return response from server which include message_id field used in further requests. For example in telebot_edit_message_text().

nekijbt commented 3 years ago

Of course, it requires editing of telebot_send_message() prototype in telebot-methods.h

smartnode commented 3 years ago

We cannot merge this PR at the moment, it changes API. Other APIs need to be fixed as proposed, and documentation needs to be updated. If you have resource please do fix all APIs that needs to return message, and update documentation.