是否有一种方法可以从API获取延迟调用的长度?在该应用中,我可以看到通话持续了15分钟,但通话的API响应似乎并未包含时间长度。我们正在将conversations.history端点与用户oauth令牌一起使用。我们尝试从较大的列表中拉出一个呼叫,或者通过其时间戳值询问该呼叫的对话消息。这是Slack API返回的一个电话示例:
0 => JoliCode\Slack\Api\Model\ObjsMessage^ {#2054
#attachments: null
#blocks: null
#botId: null
#clientMsgId: null
#comment: null
#displayAsBot: null
#file: null
#files: null
#icons: null
#inviter: null
#isDelayedMessage: null
#isIntro: null
#isStarred: null
#lastRead: null
#latestReply: null
#name: null
#oldName: null
#parentUserId: null
#permalink: "https://<snip>.slack.com/call/<snip>"
#pinnedTo: null
#purpose: null
#reactions: null
#replies: null
#replyCount: null
#replyUsers: null
#replyUsersCount: null
#sourceTeam: null
#subscribed: null
#subtype: "sh_room_created"
#team: null
#text: "Started a <https://<snip>.slack.com/call/<snip>|call>."
#threadTs: null
#topic: null
#ts: "1589834349.006000"
#type: "message"
#unreadCount: null
#upload: null
#user: "<snip>"
#userProfile: null
#userTeam: null
#username: null
}