UrbitEx.API.DM (UrbitEx v0.6.3) View Source
Client API to interact with dm-hook
, new implementation of direct messaging
Fetch, send, accept and decline DMs.
Link to this section Summary
Functions
Accepts a Direct Message with a ship. Takes an UrbitEx.Session struct and an Urbit @p to invite.
Declines a Direct Message with a ship. Takes an UrbitEx.Session struct and an Urbit @p to invite.
Fetch new DMs. Takes a Session struct, a target @p, and an optional options keyword list.
For details check the api/gall/graph.ex
module, DMs use the same endpoints.
Starts a Direct Message with a ship. Takes an UrbitEx.Session struct and an Urbit @p to invite.
Link to this section Functions
Accepts a Direct Message with a ship. Takes an UrbitEx.Session struct and an Urbit @p to invite.
Declines a Direct Message with a ship. Takes an UrbitEx.Session struct and an Urbit @p to invite.
fetch_children(session, target, parent_index, start_index \\ "/", end_index \\ "/", opts \\ [])
View Source Fetch new DMs. Takes a Session struct, a target @p, and an optional options keyword list.
For details check the api/gall/graph.ex
module, DMs use the same endpoints.
Starts a Direct Message with a ship. Takes an UrbitEx.Session struct and an Urbit @p to invite.