Channel:hasRead

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
idnumberThe ID of the message to check.

Returns

NameTypeDescription
readbooleanWhether the message has been read.

See also