OptionalstreamingStreaming mode to simulate (capabilities.streaming). 'edit' also exposes
editMessage (recorded in edits); 'draft' exposes sendDraft (recorded in
drafts) and editMessage. Default 'none' (no edit, no drafts).
Optionalmaxcapabilities.maxTextLength to simulate. Default: unset.
Optionalmaxcapabilities.maxTextBytes (UTF-8) to simulate. Default: unset.
Optionaltextcapabilities.textFormat to simulate (e.g. 'whatsapp'). Default: unset.
OptionalbuttonsNative buttons to simulate (capabilities.buttons and the 'buttons' content
kind). false simulates a channel without them (Baileys, SMS…). Default true.
OptionaltextPer-chat text format to simulate (IProvider.textFormatFor), e.g. a provider that
serves WhatsApp and SMS chats. Default: unset (the mock has no textFormatFor).
OptionalsupportsWhich optional seams the mock exposes. A disabled seam is hidden (the instance
property reads undefined), so the bot treats it exactly like a provider that
lacks the method. Defaults follow streaming: edit and delete when it is not
'none', drafts when it is 'draft'. When left unset, a subclass's own
override of the method is never hidden; an explicit false hides it too.
Optionalexclusivecapabilities.exclusiveSession to simulate: a transport that allows one live
connection (Baileys). Multi-replica coordination then starts the mock on the elected
replica only. Default: unset.
OptionalmaxCap of MockProvider.journal; the oldest entries are dropped first (default
10000, Infinity disables the cap). outbox is never capped.
Optionalinteractionscapabilities.interactionsRequireAck to simulate (Discord): the bot then acknowledges
every interaction on its own (see ctx.acknowledge()). Default false.
Options of MockProvider.