Skip to main content

Module dm

Module dm 

Source
Expand description

Direct messages between a bot and a member (specification §8.15), and the member’s own setting for them.

Structs§

Channels
dm.list response: the actor’s open DMs.
Close
dm.close: hides the DM for the actor.
List
dm.list.
Open
dm.open: the DM with member_id, created when there is none (idempotent per pair).
Settings
The member’s settings (member.settings.get / .update response).
SettingsGet
member.settings.get.
SettingsUpdate
member.settings.update: absent fields stay.