Twilio Flex:发送短信,配置CHAT_SERVICE_SID和FLEX_FLOW_SID

时间:2019-06-11 14:18:57

标签: javascript reactjs twilio twilio-flex

祝您一切顺利,我是Twillio Flex的新手,并被困在寻找CHAT_SERVICE_SID和FLEX_FLOW_SID(短信FlexFlow Sid)上。

我当时在考虑应该在Twillio控制台的API Keys下的Runtime下创建一个新的sid还是可以参考的任何实际的const practice = await PracticeModel.findById(currentUser.activePractice).populate({path:"workschedule", populate: {path: "days", populate: [{ model: "Shift", path: "Shift"}]}}) export const WorkscheduleSchema = new Schema({ days: [[ { type: mongoose.Schema.Types.ObjectId, ref: 'Shift' } ]] }, { versionKey: false }) I expect something in the lines of {days: [[{_id: "febhbvjrv", start_time: "date_time_here"},{_id: "fennziefnifer", start_time: "date_time_here}]]} 。任何帮助将不胜感激

0 个答案:

没有答案