ctx.stream() builds one from the
bot; tests and custom integrations can provide their own.
Properties
capabilities?
isPrivate?
false for groups/channels: native drafts are attempted only when not false.
shutdown?
bot.stop()): the stream is cancelled and
touches the target no more — no flush, no discard, no rate-limit wait.
Methods
send()
Parameters
Returns
Promise<SentMessage<unknown>>
edit()?
Parameters
Returns
Promise<unknown>
delete()?
onCancel: 'discard').
Parameters
Returns
Promise<void>
draft()?
Parameters
Returns
Promise<void>
typing()?
Returns
Promise<void>