即使没有消息,也可以在 Layer 中显示对话(使用 Atlas)
Show conversations in Layer (with Atlas) even if there are no messages
我正在尝试显示已创建的所有对话,即使未发送消息也是如此。但是,我无法终生弄清楚。我遇到了一百万个死胡同。有谁知道这是否可能?
也许有一个更具体的问题可以帮助我回答这个问题:是否可以仅使用其他参与者的用户 ID 获取现有对话的 LYRConversation 对象?
在浏览了他们的文档数小时后,我终于找到了这个:
If you create a conversation the recipient won't see it until the first message is sent. If you want to be able to create a conversation without any messages, use the Platform API.
Source and link to information about the Platform API
在我看来,这应该有更好的记录,但确实如此。希望这对某人有所帮助!
我正在尝试显示已创建的所有对话,即使未发送消息也是如此。但是,我无法终生弄清楚。我遇到了一百万个死胡同。有谁知道这是否可能?
也许有一个更具体的问题可以帮助我回答这个问题:是否可以仅使用其他参与者的用户 ID 获取现有对话的 LYRConversation 对象?
在浏览了他们的文档数小时后,我终于找到了这个:
If you create a conversation the recipient won't see it until the first message is sent. If you want to be able to create a conversation without any messages, use the Platform API.
Source and link to information about the Platform API
在我看来,这应该有更好的记录,但确实如此。希望这对某人有所帮助!