Use with files plugin
Closed this issue · 2 comments
ralphilius commented
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
?
KnorpelSenf commented
You can call ctx.api.config.use
inside conversation.run
, yes. Safe in what way?
ralphilius commented
You can call
ctx.api.config.use
insideconversation.run
, yes. Safe in what way?
Ah, I just mean is it possible to use inside that function. Thanks for clarifying.