grammyjs/conversations

Use with files plugin

Closed this issue · 2 comments

I've posted here grammyjs/files#4, but I reposted here for more exposure.

The files plugin use bot.api.config.use for configuration. Is it safe to use hydrateFiles(token) within conversation.run?

You can call ctx.api.config.use inside conversation.run, yes. Safe in what way?

You can call ctx.api.config.use inside conversation.run, yes. Safe in what way?

Ah, I just mean is it possible to use inside that function. Thanks for clarifying.