Can a bot post multiple images like an album in one message

79 views
Skip to first unread message

Ryan Stanley

unread,
Nov 10, 2022, 1:29:59 PM11/10/22
to GroupMe API Support
I've been able to do this with the regular user message POST endpoint using the attachments array. but when I use the bot POST endpoint, only the first image of the array shows up in the group.  


json body: 

{
    "text": "test",
    "bot_id": "<BOT_ID>",
    "attachments": [
                    {
                        "type": "image",
                        "url": "https://i.groupme.com/zzzzzzzzzzzzzzzz"
                    },
                    {
                        "type": "image",
                        "url": "https://i.groupme.com/yyyyyyyyyyyyyy"
                    },
                    {
                        "type": "image",
                        "url": "https://i.groupme.com/xxxxxxxxxxxxxxx"
                    }
    ]
  }

Julmar Figureoa

unread,
Dec 29, 2022, 9:31:32 PM12/29/22
to GroupMe API Support
I’m not sure if my original message was sent because I don’t see it but were you able to figure out the cause of the issue? I’m running into the same problem where it is only sending the first image and ignoring everything else within the attachments array.
Reply all
Reply to author
Forward
0 new messages