How to attach a picture into a ticket that was created by bot

How to attach a picture into a ticket that was created by bot

Hi,
We have tried to attach a picture into the ticket that we created with the bot, but we haven't been able to do it.
We know that the attachment is stored in the attachments list and to be able to call the picture we have to use attachment.get(0) to get the first picture from the client.

We would like to know the correct syntax and also how to implemented it on the zoho.desk.create function.
Thank you! I will waiting for your reply.


          Zoho TeamInbox Resources

            Zoho DataPrep Resources


                Zoho CRM Plus Resources

                  Zoho Books Resources


                    Zoho Subscriptions Resources

                      Zoho Desk Resources

                        Zoho Projects Resources


                          Zoho Sprints Resources


                            Zoho Orchestly Resources


                              Zoho Creator Resources


                                Zoho WorkDrive Resources




                                    Zoho Campaigns Resources

                                      Zoho CRM Resources

                                                    Design. Discuss. Deliver.

                                                    Create visually engaging stories with Zoho Show.

                                                    Get Started Now


                                                      Zoho Show Resources


                                                        Zoho Writer Writer

                                                        Get Started. Write Away!

                                                        Writer is a powerful online word processor, designed for collaborative work.

                                                                  有料プランをご利用の方