noobIOSCoder / xmpphp

Automatically exported from code.google.com/p/xmpphp
0 stars 0 forks source link

send messages to groups #11

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
It would be nice to be able to send messages to groupchats/conferences.
This might require to join the "room" before sending the message. 

Original issue reported on code.google.com by arthur.l...@gmail.com on 15 Apr 2008 at 1:43

GoogleCodeExporter commented 9 years ago

Original comment by nathanfr...@gmail.com on 16 Apr 2008 at 10:36

GoogleCodeExporter commented 9 years ago
I need to add Service discovery first.

Original comment by nathanfr...@gmail.com on 16 Apr 2008 at 10:37

GoogleCodeExporter commented 9 years ago
If You know for sure, that a particular server does MUC, you can use simply 
this:

    // enter room
    $conn->presence(NULL, "bot", "room@service/mynick", "available");
    // send message
    $conn->message('room@service', 'This is a test message!', "groupchat");
    // leave room
    $conn->presence(NULL, "bot", "room@service/mynick", "unavailable");

Original comment by butrus.b...@gmail.com on 10 Mar 2009 at 4:20

GoogleCodeExporter commented 9 years ago
hii can any one explain hiw to implement group chat using xmpphp???

Original comment by 9cha...@gmail.com on 7 Jun 2009 at 3:30

GoogleCodeExporter commented 9 years ago
i'd like to know how i *join* a group chat, so i receive messages that get send 
to
that group.

Original comment by brightb...@gmail.com on 3 Sep 2009 at 12:13

GoogleCodeExporter commented 9 years ago
It would be nice to get messages via XMPPHP in to a MUC.

Original comment by c.hell...@gmail.com on 7 Jun 2012 at 8:36

GoogleCodeExporter commented 9 years ago
How to create new group and how to add users into the group.

Original comment by sachi...@tekdi.net on 4 Jan 2014 at 9:49