davidchua / pymessenger

A Python Wrapper for the FB Messenger Bot API (Send/Receive API)
MIT License
457 stars 185 forks source link

Sending a message to group chat #59

Closed UmangThapliyal closed 6 years ago

UmangThapliyal commented 6 years ago

Right now pymessenger supports sending message to one user only. There should be feature by which we can message a group chat

Cretezy commented 6 years ago

This isn't possible by the Facebook Messenger platform. A bot can only reply to a one-on-one conversation directly to a single user.

UmangThapliyal commented 6 years ago

@Cretezy we did a slight modification in code and now it's working. Group chat messages are treated as thread and you can message to a thread

Cretezy commented 6 years ago

Wow, this must be new. Can you link me to supporting documentation, I've never heard of this! Make a PR if you want too

UmangThapliyal commented 6 years ago

@Cretezy I will send a pull request, please check the code and approve it if you feel its okay.

Cretezy commented 6 years ago

Please do it on my fork. This one is unmaintained.

UmangThapliyal commented 6 years ago

@Cretezy I cloned it and will do a pull request

UmangThapliyal commented 6 years ago

@Cretezy I forked and created a pull request can you please check and approve it

gabriellydeandrade commented 4 years ago

Hi there, I am having the same problem. I am using pymessager version 0.0.7.0, the last one available in pypi, and since the PR was not merged there isn't this part that @UmangThapliyal changed in code.

I see that exists other versions of pymessager such as pymessager2 and pymessager3. Does anybody recommend something?

Tks