Closed roziscoding closed 1 year ago
Add a button to reset to default. It should set
[]
and then check what TG picked viagetWebhookInfo
Are you suggesting the button should send setWebhook
with allowed_updates: []
? If so, I don't think that's a good idea, as the user might not want to actually set the update at that time. I'd rather set it to DEFAULT_UPDATE_TYPES
(that I copied from grammyjs/grammy#422 for now)
I thought of performing a call to getUpdates, but perhaps resetting to a hard-coded value is fine, too
Wait what, why did you close this?
Wait what, why did you close this?
I didn't. I tried to resign my commit, messed up the whole history, and github automatically closed this. I opened #8 to continue this tho
Oh I see
Live preview: https://grammy-tools-3kcyw21dq-roziscoding.vercel.app/webhook-utility