Handle multiple photos for bot #1806
Unanswered
AguChaves92
asked this question in
Q&A
Replies: 2 comments
-
There isn't a way to know when all photos have arrived, or to know how many photos the user sent. Telegraf will just receive the photos one by one. If they were part of an album, every photo will have a matching |
Beta Was this translation helpful? Give feedback.
0 replies
-
know it's bit late but maybe will be useful for sommeone:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have this code inside a wizard scene:
`async (ctx) => {
const photos = ctx.message.photo;
}`
the thing is that when the user sends more than one picture, the reply to the group is sent for every picture the user sent. Is there a way to capture all pictures and only after receiving them all executing the reply part?
Beta Was this translation helpful? Give feedback.
All reactions