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

Improve error message for empty start_parameter. #2864

Closed KnorpelSenf closed 6 months ago

KnorpelSenf commented 6 months ago

This option was renamed more than a year ago. Bots that are developed today are likely to work with the updated Bot API specification, i.e. use start_parameter instead of the previous option switch_pm_parameter.

The error message should be updated in order to be more helpful. This pull request does that.

levlam commented 6 months ago

Thank you, @KnorpelSenf!

KnorpelSenf commented 6 months ago

Happy to help 🎉