Constructors
Methods
create
- create(channelId, body): Promise<Result<RESTError | Error, APIMessage>>
Parameters
- channelId: string
- body: RESTPostAPIChannelMessageJSONBody
Returns Promise<Result<RESTError | Error, APIMessage>>
get
- get(channelId, messageId): Promise<Result<RESTError | Error, APIMessage>>
Parameters
- channelId: string
- messageId: string
Returns Promise<Result<RESTError | Error, APIMessage>>
getMany
- getMany(channelId, option?): Promise<Result<RESTError | Error, RESTGetAPIChannelMessagesResult>>
Parameters
- channelId: string
Optional
option: RESTGetAPIChannelMessagesQuery
Returns Promise<Result<RESTError | Error, RESTGetAPIChannelMessagesResult>>
Controller for message features.