How to send a picture to bot?

(Alex Crypt) #1

I have a question: How to send a pic to the bot?
http://joxi.ru/n2YdwyxijdWn8m - this is not good, because fot this you should ask bot.

But I want to post pic like broadcast. I want to send pic to somewhere and see this pic in the bot.

Is this possible? How?

Thanks

1 Like
(Karen Barker) #2

Hi Alex,

Your users can send an image to the bot at any time. You will just need a flow starting with a “New File” trigger in order to accept the image. In your logs you will be able to see the link where the image is stored and will be able to use the URL to store in a database, send via an email etc as required. :thumbsup:

(Alex Crypt) #3

Can you give me more ditails please?

(Alex Crypt) #4

I did
But it’s work only for me
Not for all guys

If I send the pic to Telegram
And
Bot send my pic to me

But I want to all guys see my pic

http://joxi.ru/L21Wk7oU6Zoz4r

Only I can send file http://joxi.ru/12MewL6s4xJgq2

(Karen Barker) #5

Hi Alex,

If you want to send an image to all your users then you will need to use a Broadcast flow. You could trigger the broadcast using a webhook which is sent from the New File Trigger flow. So you’ll have:

Flow 1

  • New File Trigger
  • Webhook

Flow 2

  • Broadcast Webhook Trigger
  • Send Image

I hope this helps. :slight_smile:

1 Like
(Alex Crypt) #6

Flow 1
Are we talking about http://joxi.ru/8AnzK4qtqgpQeA this one?

(Karen Barker) #7

Hi Alex,

I’ve responded to your email ticket regarding this. :thumbsup:

(Alex Crypt) #8

I did
It’s work now with your help
Thanks a lot)

1 Like