Class GroupActionChatEvent
A group action embedded in chat.
Inheritance
Namespace: TehGM.Wolfringo.Messages
Assembly: Wolfringo.Core.dll
Syntax
public class GroupActionChatEvent : IChatMessage, IRawDataMessage, IWolfMessage
Constructors
| Improve this Doc View SourceGroupActionChatEvent()
Creates a message instance.
Declaration
protected GroupActionChatEvent()
See Also
Properties
| Improve this Doc View SourceActionInvokerID
ID of the user that invoked the group action.
Declaration
public uint? ActionInvokerID { get; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.UInt32> |
See Also
| Improve this Doc View SourceActionType
Type of group action.
Declaration
public GroupActionType ActionType { get; }
Property Value
| Type | Description |
|---|---|
| GroupActionType |
See Also
| Improve this Doc View SourceEventName
Message event name.
Declaration
public string EventName { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Remarks
Equals to MessageSend.
See Also
| Improve this Doc View SourceFlightID
WOLF protocol internal flight ID.
Declaration
public string FlightID { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
See Also
| Improve this Doc View SourceID
Unique ID of the message.
Declaration
public Guid? ID { get; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Guid> |
See Also
| Improve this Doc View SourceIsGroupMessage
Is it a group message?
Declaration
public bool IsGroupMessage { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
See Also
| Improve this Doc View SourceIsPrivateMessage
A group action embedded in chat.
Declaration
public bool IsPrivateMessage { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
See Also
| Improve this Doc View SourceMimeType
Type of the message.
Declaration
public string MimeType { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
See Also
| Improve this Doc View SourceRawData
Message's raw binary data.
Declaration
public IReadOnlyCollection<byte> RawData { get; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.IReadOnlyCollection<System.Byte> |
See Also
| Improve this Doc View SourceRecipientID
User or group that received the message.
Declaration
public uint RecipientID { get; }
Property Value
| Type | Description |
|---|---|
| System.UInt32 |
See Also
| Improve this Doc View SourceSenderID
User that sent the message.
Declaration
public uint? SenderID { get; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.UInt32> |
Remarks
When creating a new chat message, this value will be null.
For received messages, this value will be populated normally.
See Also
| Improve this Doc View SourceTimestamp
Message's timestamp.
Declaration
public WolfTimestamp? Timestamp { get; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<WolfTimestamp> |
Remarks
When creating a new chat message, this value will be null. Once WOLF server acknowledges the message, it'll respond with timestamp value. Default WolfClient implementation will automatically populate this value once this happens, so message will have timestamp populated after SendAsync<TResponse>(IWolfMessage, CancellationToken) returns.
For received messages, this value will be populated normally.
See Also
Methods
| Improve this Doc View SourceParseRawData()
Parses invoker ID and action type from raw data.
Declaration
protected void ParseRawData()