Constructs a new UserMessage.
Optional properties: IUserMessageProperties to set
UserMessage Content.
UserMessage I.
UserMessage MsgId.
UserMessage Pid.
UserMessage RealName.
UserMessage SpeakType.
UserMessage Time.
Static createCreates a new UserMessage instance using the specified properties.
Optional properties: IUserMessageProperties to set
UserMessage instance
Static decodeDecodes a UserMessage message from the specified reader or buffer.
If the payload is not a reader or valid buffer
If required fields are missing
Reader or buffer to decode from
Optional length: numberMessage length if known beforehand
UserMessage
Static decodeDecodes a UserMessage message from the specified reader or buffer, length delimited.
If the payload is not a reader or valid buffer
If required fields are missing
Reader or buffer to decode from
UserMessage
Static encodeEncodes the specified UserMessage message. Does not implicitly verify messages.
UserMessage message or plain object to encode
Optional writer: anyWriter to encode to
Writer
Static encodeEncodes the specified UserMessage message, length delimited. Does not implicitly verify messages.
UserMessage message or plain object to encode
Optional writer: anyWriter to encode to
Writer
Static fromCreates a UserMessage message from a plain object. Also converts values to their respective internal types.
Plain object
UserMessage
Static toCreates a plain object from a UserMessage message. Also converts values to other types if specified.
UserMessage
Optional options: anyConversion options
Plain object
Static verifyGenerated using TypeDoc
Represents a UserMessage.