@@ -133,7 +133,7 @@ def handle_message(event)
133
133
title : 'My button sample' ,
134
134
text : 'Hello, my button' ,
135
135
actions : [
136
- { label : 'Go to line.me' , type : 'uri' , uri : 'https://line.me' } ,
136
+ { label : 'Go to line.me' , type : 'uri' , uri : 'https://line.me' , altUri : { desktop : 'https://line.me#desktop' } } ,
137
137
{ label : 'Send postback' , type : 'postback' , data : 'hello world' } ,
138
138
{ label : 'Send postback2' , type : 'postback' , data : 'hello world' , text : 'hello world' } ,
139
139
{ label : 'Send message' , type : 'message' , text : 'This is message' }
@@ -166,7 +166,7 @@ def handle_message(event)
166
166
title : 'hoge' ,
167
167
text : 'fuga' ,
168
168
actions : [
169
- { label : 'Go to line.me' , type : 'uri' , uri : 'https://line.me' } ,
169
+ { label : 'Go to line.me' , type : 'uri' , uri : 'https://line.me' , altUri : { desktop : 'https://line.me#desktop' } } ,
170
170
{ label : 'Send postback' , type : 'postback' , data : 'hello world' } ,
171
171
{ label : 'Send message' , type : 'message' , text : 'This is message' }
172
172
]
@@ -217,7 +217,7 @@ def handle_message(event)
217
217
columns : [
218
218
{
219
219
imageUrl : THUMBNAIL_URL ,
220
- action : { label : 'line.me' , type : 'uri' , uri : 'https://line.me' }
220
+ action : { label : 'line.me' , type : 'uri' , uri : 'https://line.me' , altUri : { desktop : 'https://line.me#desktop' } }
221
221
} ,
222
222
{
223
223
imageUrl : THUMBNAIL_URL ,
@@ -364,7 +364,10 @@ def handle_message(event)
364
364
action : {
365
365
type : "uri" ,
366
366
label : "Go" ,
367
- uri : "https://example.com"
367
+ uri : "https://example.com" ,
368
+ altUri : {
369
+ desktop : "https://example.com#desktop"
370
+ } ,
368
371
}
369
372
}
370
373
]
@@ -393,7 +396,10 @@ def handle_message(event)
393
396
action : {
394
397
type : "uri" ,
395
398
label : "Go" ,
396
- uri : "https://example.com"
399
+ uri : "https://example.com" ,
400
+ altUri : {
401
+ desktop : "https://example.com#desktop"
402
+ }
397
403
}
398
404
}
399
405
]
0 commit comments