Class ContactAddMessage
A message for adding a user as contact.
Inheritance
System.Object
ContactAddMessage
Implements
Namespace: TehGM.Wolfringo.Messages
Assembly: Wolfringo.Core.dll
Syntax
public class ContactAddMessage : IWolfMessage
Constructors
| Improve this Doc View SourceContactAddMessage()
Creates a message instance.
Declaration
[JsonConstructor]
protected ContactAddMessage()
ContactAddMessage(UInt32)
Creates a message instance.
Declaration
public ContactAddMessage(uint userID)
Parameters
Type | Name | Description |
---|---|---|
System.UInt32 | userID | ID of the user to add. |
Properties
| Improve this Doc View SourceEventName
Message event name.
Declaration
[JsonIgnore]
public string EventName { get; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
Equals to SubscriberContactAdd.
UserID
ID of user being added as contact.
Declaration
[JsonProperty("id")]
public uint UserID { get; }
Property Value
Type | Description |
---|---|
System.UInt32 |