mirror of
https://github.com/vanitasvitae/Smack.git
synced 2025-09-10 17:49:38 +02:00
Update/Edit documentation
This commit is contained in:
parent
a9ca1a0989
commit
fba36dbff6
2 changed files with 4 additions and 5 deletions
|
@ -19,8 +19,7 @@ group chat room, address a new message to the user and set the room name
|
|||
appropriately, as in the following code example:
|
||||
|
||||
```
|
||||
Message message = new Message("user@chat.example.com");
|
||||
message.setBody("Join me for a group chat!");
|
||||
Message message = new Message("user@chat.example.com", "Join me for a group chat!");
|
||||
message.addExtension(new GroupChatInvitation("room@chat.example.com"));
|
||||
con.sendStanza(message);
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue