Initializes a new instance of the RosterItem class.
Namespace: Quickblox.Sdk.Modules.ChatXmppModule.ModelsAssembly: Quickblox.Sdk.Xamarin (in Quickblox.Sdk.Xamarin.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic RosterItem(
Jid jid,
string name = null,
params string[] groups
)
Public Sub New (
jid As Jid,
Optional name As String = Nothing,
ParamArray groups As String()
)
public:
RosterItem(
Jid^ jid,
String^ name = nullptr,
... array<String^>^ groups
)
new :
jid : Jid *
?name : string *
groups : string[]
(* Defaults:
let _name = defaultArg name null
*)
-> RosterItemParameters
- jid
- Type: Quickblox.Sdk.Modules.ChatXmppModule.ModelsJid
The JID of the user this item will be associated
with. - name (Optional)
- Type: SystemString
The nickname with which to associate the JID. - groups
- Type: SystemString
An array of groups or categories this roster item
will be added to.
Exceptions
See Also