I'm developing a bot for MS Teams and I'm looking to know the timezone of a user, to deliver messages at an appropriate time (e.g. not in the middle of the night).
I didn't found something appropriate in the bot framework REST API. Although messages we receive include a 'clientInfo.country' property, which is a start, but definitely not enough to time messages as we would like.
解决方案And the answer is: there’s a localTimestamp
property that can be used to get the time offset, which is good enough for what I need.
上一篇:向 MS Teams 频道发送主动自适应卡片消息卡片、自适应、主动、消息
下一篇:变化与QUOT;脉冲通知灯"在Android /轨迹球光设置(Nexus One的唯一?)脉冲、化与、通知、轨迹球