-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support reply button in post message #36
Comments
How to fit the struct of reply button data into the post as a kind of sayable ?const suggestion = [
{
reply:{
displayText:'aaa',
},
},
{
action:{
displayText:'Open website or deep link',
urlAction:{
openUrl:{
application:'webview',
url:'https://xxx.com',
viewMode:'half',
},
},
},
},
{
action:{
dialerAction:{
dialPhoneNumber:{
phoneNumber:'+8617xxxxxxxxx0',
},
},
displayText:'Call a phone number',
},
},
]
Should I create another sayable type to fit it or take other actions |
I think we need a new type of the Sayable: ‘ActionButton’ Could you please to do a research on the standard international RCS protocol, and reference the Action/Reply Button specifications and the data samples to here, so that we can have a better insight on it and design it in the right direction? Thank you very much! |
There is only 3 kinds of buttons for now. // reply text
{
reply:{
displayText:'aaa',
},
}
// open link
{
action:{
displayText:'Open website or deep link',
urlAction:{
openUrl:{
application:'webview',
url:'https://xxx.com',
viewMode:'half',
},
},
},
}
// dial phone
{
action:{
dialerAction:{
dialPhoneNumber:{
phoneNumber:'+8617xxxxxxxxx0',
},
},
displayText:'Call a phone number',
},
} |
Thanks for the data sample. Could you please also research the standard international RCS protocol and reference the Action/Reply Button specifications links here? More details will be needed to design our API because we want to make sure it will be generalized and following the international standard protocol specs. |
目前和 @fabian4 沟通下来,发现suggestion 有共性的地方是三种快捷数据类型都需要 1、关于
2、关于 关于三种快捷回复类型所必须的参数: 1、纯文字型快捷回复(reply)
2、url链接类型(action) 必填: 其余参数
3、弹框类型,拨打电话(action) 必填: 其余参数
根据以上分析,其实可以归为两大类快捷回复,一个
关于以上提到的分析如果有误的话,欢迎提出,另外也希望我们能够尽快推进快捷回复的落地,因为这个场景实现的功能点是挺吸引开发者的 |
目前能想到可以实现的调用方式如下,在 个人初步设想,并不是很完善
|
No description provided.
The text was updated successfully, but these errors were encountered: