···8686---@class Channel
8787local channel = {}
88888989+---Get the name of the channel
9090+---
9191+---@param chan Channel // this channel
9292+---@return string name name of the channel
9393+function channel.name(chan) end
9494+9595+---Mark a channel as read
9696+---
9797+---@param chan Channel // this channel
9898+function channel.mark_read(chan) end
9999+89100---Send a message to the channel. If the message begins with a '/', it will be processed as a command. This allows for sending of "/me <msg>" style messages from lua
90101---
91102---@param chan Channel this channel
92103---@param msg string message to send
93104function channel.send_msg(chan, msg) end
9494-9595----Get the name of the channel
9696----
9797----@param chan Channel // this channel
9898----@return string name name of the channel
9999-function channel.name(chan) end
100105101106return comlink
+6
docs/comlink_channel.3.scd
···10101111*local name = channel:name*()
12121313+*channel:mark_read*()
1414+1315*channel:send_msg*(_msg_)
14161517# DESCRIPTION
16181719A *channel* represents an IRC channel.
2020+2121+*channel:mark_read*
2222+ Mark this channel as read. This will set the READMARKER to the time of
2323+ the last received message.
18241925*channel:send_msg*
2026 A method on *channel* which accepts a string (_msg_). _Msg_ is sent to