| 123456789101112131415161718192021222324 |
- return {
- summary = 'Get whether a message has been read.',
- description = [[
- Returns whether or not the message with the given ID has been read. Every call to
- `Channel:push` returns a message ID.
- ]],
- arguments = {
- {
- name = 'id',
- type = 'number',
- description = 'The ID of the message to check.'
- }
- },
- returns = {
- {
- name = 'read',
- type = 'boolean',
- description = 'Whether the message has been read.'
- }
- },
- related = {
- 'Channel:push'
- }
- }
|