Class ChatUpdateMessage.Builder
A builder class for ChatUpdateMessage.
Namespace: TehGM.Wolfringo.Messages
Assembly: Wolfringo.Core.dll
Syntax
public class Builder
Constructors
| Improve this Doc View SourceBuilder(ChatMessage)
Creates a builder instance from an existing message object.
Declaration
public Builder(ChatMessage message)
Parameters
Type | Name | Description |
---|---|---|
ChatMessage | message |
Builder(WolfTimestamp, UInt32, Boolean)
Creates a builder instance from message information.
Declaration
public Builder(WolfTimestamp timestamp, uint recipientID, bool isGroupMessage)
Parameters
Type | Name | Description |
---|---|---|
WolfTimestamp | timestamp | |
UInt32 | recipientID | |
Boolean | isGroupMessage |
Properties
| Improve this Doc View SourceIsDeleted
Is this message soft-deleted by group admin?
Declaration
public bool? IsDeleted { get; set; }
Property Value
Type | Description |
---|---|
Nullable<Boolean> |
IsGroupMessage
Is it a group message?
Declaration
public bool IsGroupMessage { get; }
Property Value
Type | Description |
---|---|
Boolean |
RecipientID
User or group that received the message.
Declaration
public uint RecipientID { get; }
Property Value
Type | Description |
---|---|
UInt32 |
Timestamp
Message's timestamp. Used by protocol as message ID.
Declaration
public WolfTimestamp Timestamp { get; }
Property Value
Type | Description |
---|---|
WolfTimestamp |
Methods
| Improve this Doc View SourceBuild()
Builds the message.
Declaration
public ChatUpdateMessage Build()
Returns
Type | Description |
---|---|
ChatUpdateMessage | Built ChatUpdateMessage. |