Constructors
constructor
- new ChannelSession(_id, _name, _replyAction, _readAction): ChannelSession
Parameters
_id: string
_name: string
_replyAction: any
_readAction: any
Properties
Protected
_name
_name: string
Protected
_readAction
_readAction: any
Protected
_replyAction
_replyAction: any
Accessors
id
- get id(): string
Returns string
name
- get name(): string
Returns string
raw
- get raw(): {
id: string;
name: string;
} Returns {
id: string;
name: string;
}
Methods
Protected
_getContext
- _getContext(): Context
Returns Context
Protected
_isAPI2
- _isAPI2(): boolean
Returns boolean
read
- read(): boolean
Returns boolean
send
- send(message): Promise<boolean>
Returns Promise<boolean>
toJSON
- toJSON(): {
id: string;
name: string;
} Returns {
id: string;
name: string;
}
방 고유 아이디