Type Definition egg_mode::direct::DMConversations[][src]

type DMConversations = HashMap<u64, Vec<DirectMessage>>;
Expand description

Wrapper around a collection of direct messages, sorted by their recipient.

The mapping exposed here is from a User ID to a listing of direct messages between the authenticated user and that user. Messages sent from the authenticated user to themself are sorted under the user’s own ID. This map is returned by the into_conversations adapter on Timeline.