Back to product page

ChatRoomData event


Fires when chat room settings are received.

Syntax

  • Basic
Private Sub object_ChatRoomData (ByRef Room)
The ChatRoomData(Room) syntax has these parts:
RoomA XMPPChatRoom object.

Remarks

Fired as a result of GetSettings method call, to obtain possible settings for the chatroom - when you have sufficient privileges to do so. Usually you will change room settings in this event, and send them back using SaveSettings method.

You can use code like this (VB example):
 
Private Sub Command2_Click()
 Room.GetSettings
End Sub
Private Sub wodXMPP1_ChatRoomData(ByVal Room As WODXMPPCOMLib.IXMPPChatRoom)
 If Room.Settings.Show("Chatroom details:", Me.hWnd) Then
   Room.SaveSettings
 End If
End Sub
 


Platforms

Windows