publ betaReference (MCP guide)
Open publ console

publ Reference

messenger_direct_room_create_get

Prepare a direct room with one channel member in the Messenger app (pApp D00003). Requires profileId from messenger_direct_room_candidates_get. Returns the member, whether they already have a direct room, the room the console would create (member nickname and image, paid when the default fee is on) and a revision. Creates nothing.

Inputs

Field Required here Contract
target Yes object
target.profileId Yes integer; greater than 0
target.distinctId No string; pattern ^[A-Za-z0-9_-]{1,200}$; The member distinctId from messenger_direct_room_candidates_get, as the console member picker looks the member up by it.