Closed metavind closed 2 months ago
https://github.com/grammyjs/grammY/blob/48153f97840df5af0ce3706313d5052c370e0fce/src/context.ts#L404
When I pass the bot_info while creating the bot, then, in the context object, 'me' is of the following type: { ok: true, result: UserFromGetMe }
In this case, using ctx.me.${} gives a type error.
ctx.me.${}
https://github.com/grammyjs/grammY/blob/48153f97840df5af0ce3706313d5052c370e0fce/src/context.ts#L404
When I pass the bot_info while creating the bot, then, in the context object, 'me' is of the following type: { ok: true, result: UserFromGetMe }
In this case, using
ctx.me.${}
gives a type error.