Constructs a new MarkChatAsReadAction.
Optional
properties: IMarkChatAsReadActionProperties to set
Optional
messageMarkChatAsReadAction messageRange.
MarkChatAsReadAction read.
Static
createCreates a new MarkChatAsReadAction instance using the specified properties.
Optional
properties: IMarkChatAsReadActionProperties to set
MarkChatAsReadAction instance
Static
decodeDecodes a MarkChatAsReadAction message from the specified reader or buffer.
Reader or buffer to decode from
Optional
length: numberMessage length if known beforehand
MarkChatAsReadAction
If the payload is not a reader or valid buffer
If required fields are missing
Static
decodeDecodes a MarkChatAsReadAction message from the specified reader or buffer, length delimited.
Reader or buffer to decode from
MarkChatAsReadAction
If the payload is not a reader or valid buffer
If required fields are missing
Static
encodeEncodes the specified MarkChatAsReadAction message. Does not implicitly verify messages.
MarkChatAsReadAction message or plain object to encode
Optional
writer: WriterWriter to encode to
Writer
Static
encodeEncodes the specified MarkChatAsReadAction message, length delimited. Does not implicitly verify messages.
MarkChatAsReadAction message or plain object to encode
Optional
writer: WriterWriter to encode to
Writer
Static
fromCreates a MarkChatAsReadAction message from a plain object. Also converts values to their respective internal types.
Plain object
MarkChatAsReadAction
Static
toCreates a plain object from a MarkChatAsReadAction message. Also converts values to other types if specified.
MarkChatAsReadAction
Optional
options: IConversionOptionsConversion options
Plain object
Static
verifyGenerated using TypeDoc
Represents a MarkChatAsReadAction.