PaulSonOfLars / gotgbot

Autogenerated Go wrapper for the telegram API. Inspired by the python-telegram-bot library.
MIT License
469 stars 107 forks source link

Change addwebhook method to take an AddWebhookOpts param #125

Closed PaulSonOfLars closed 8 months ago

PaulSonOfLars commented 9 months ago

What

AddWebhook() only uses one field in the WebhookOpts struct; this is confusing. Instead, move to using a new AddWebhookOpts struct

Impact