Channel:hasRead

Edit

Returns whether or not the message with the given ID has been read. Every call to Channel:push returns a message ID.

read = Channel:hasRead(id)

Arguments

NameTypeDescription
idnumber The ID of the message to check.

Returns

NameTypeDescription
readboolean Whether the message has been read.

See also