Sending a DM to a bot

569 views
Skip to first unread message

kuzimoto

unread,
Feb 17, 2016, 4:40:16 PM2/17/16
to GroupMe API Support
I have looked through the API and various documentation but can't seem to find a way to send a DM to a bot. When I try to do it through the web interface it just gives me an error "Sorry. You can't direct message SMS users." Is there any way around that?

John Lotito

unread,
Feb 17, 2016, 7:09:21 PM2/17/16
to kuzimoto, GroupMe API Support
You can not DM a bot.

On Wed, Feb 17, 2016 at 4:40 PM, kuzimoto <kuzi...@gmail.com> wrote:
I have looked through the API and various documentation but can't seem to find a way to send a DM to a bot. When I try to do it through the web interface it just gives me an error "Sorry. You can't direct message SMS users." Is there any way around that?

--
You received this message because you are subscribed to the Google Groups "GroupMe API Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to groupme-api-sup...@googlegroups.com.
To post to this group, send email to groupme-a...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/groupme-api-support/a5d525eb-9d79-49c2-810b-14255679594d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

kuzimoto

unread,
Feb 17, 2016, 7:24:34 PM2/17/16
to GroupMe API Support
Any reason why not? Or it was just made that way?
Message has been deleted

Jake Bathman

unread,
Feb 18, 2016, 9:11:36 AM2/18/16
to kuzimoto, GroupMe API Support
It's just how it is, unfortunately. From what I can tell, a bot is a wholly separate type of entity than a user. The ID blocks are different, they don't show up in the membership list, they don't trigger system messages on coming and going, etc. DMs are just one more difference. 

Jake 


On Wednesday, February 17, 2016, kuzimoto <kuzi...@gmail.com> wrote:
Any reason why not? Or it was just made that way?

--
You received this message because you are subscribed to the Google Groups "GroupMe API Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to groupme-api-sup...@googlegroups.com.
To post to this group, send email to groupme-a...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.


--

--
Jake Bathman

Dustin Smith

unread,
Nov 22, 2016, 3:42:44 PM11/22/16
to GroupMe API Support
I know this is and old thread, but it looks like you can set a `dm_notification` flag for a bot now. This makes a bot receive all the direct messages for a user. 

Then, you can send a DM back to that user with the direct message API with user access token, not the Bot API.  So its a bit of a workaround, but seems to work fine.

Troy Wolf

unread,
Dec 22, 2023, 9:28:48 PM12/22/23
to GroupMe API Support
Wow. 7 years ago, and this is one of the top hits when I ask Google "GroupMe how to DM a bot". Indeed one can set "dm_notification": true, on a bot, but the only thing that accomplishes for me is to make it stop receiving the group messages. If "dm_notification" if false, any message posted in the group hits my callback URL. When "dm_notification" is true, those messages are not sent to my callback.

Now for the really messed up part, and it's very strange to me that I can't find anyone else talking about this, but... when I create a bot, it ends up associated with what appears to be some random, real user's profile. Once the bot is created, it stays stuck to that person's profile. If I create a new bot, it's some new "random" person. What I mean is, if you click the bot's avatar and then view the profile or try to DM the bot, the windows that opens has somebody's name it--somebody that is not your bot and somebody you don't know, is not part of any group you belong to, and you don't have privs to send them a DM.

GroupMe's bot system seems to be broken with nobody working on it anymore. I'd love to be wrong.

kuzimoto

unread,
Dec 25, 2023, 2:39:16 AM12/25/23
to GroupMe API Support
Well, I stopped using the API approximately 7 years ago but I don't recall ever getting it to work, sorry! I'm surprised anyone is still using GroupMe though heh.
Reply all
Reply to author
Forward
0 new messages