Share via


ReadReceiptInfo.IsMessageRead Method

Definition

Overloads

IsMessageRead(String)

Helper method useful for determining if a message has been read. If the compareMessageId is less than or equal to the LastReadMessageId, then the message has been read.

IsMessageRead(String, String)

Helper method useful for determining if a message has been read. This method converts the strings to longs. If the compareMessageId is less than or equal to the lastReadMessageId, then the message has been read.

IsMessageRead(String)

Helper method useful for determining if a message has been read. If the compareMessageId is less than or equal to the LastReadMessageId, then the message has been read.

public bool IsMessageRead (string compareMessageId);
member this.IsMessageRead : string -> bool
Public Function IsMessageRead (compareMessageId As String) As Boolean

Parameters

compareMessageId
String

The id of the message to compare.

Returns

True if the compareMessageId is less than or equal to the lastReadMessageId.

Applies to

IsMessageRead(String, String)

Helper method useful for determining if a message has been read. This method converts the strings to longs. If the compareMessageId is less than or equal to the lastReadMessageId, then the message has been read.

public static bool IsMessageRead (string compareMessageId, string lastReadMessageId);
static member IsMessageRead : string * string -> bool
Public Shared Function IsMessageRead (compareMessageId As String, lastReadMessageId As String) As Boolean

Parameters

compareMessageId
String

The id of the message to compare.

lastReadMessageId
String

The id of the last message read by the user.

Returns

True if the compareMessageId is less than or equal to the lastReadMessageId.

Applies to