@@ -133,7 +133,7 @@ def handle_message(event)
133133 title : 'My button sample' ,
134134 text : 'Hello, my button' ,
135135 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' } } ,
137137 { label : 'Send postback' , type : 'postback' , data : 'hello world' } ,
138138 { label : 'Send postback2' , type : 'postback' , data : 'hello world' , text : 'hello world' } ,
139139 { label : 'Send message' , type : 'message' , text : 'This is message' }
@@ -166,7 +166,7 @@ def handle_message(event)
166166 title : 'hoge' ,
167167 text : 'fuga' ,
168168 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' } } ,
170170 { label : 'Send postback' , type : 'postback' , data : 'hello world' } ,
171171 { label : 'Send message' , type : 'message' , text : 'This is message' }
172172 ]
@@ -217,7 +217,7 @@ def handle_message(event)
217217 columns : [
218218 {
219219 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' } }
221221 } ,
222222 {
223223 imageUrl : THUMBNAIL_URL ,
@@ -364,7 +364,10 @@ def handle_message(event)
364364 action : {
365365 type : "uri" ,
366366 label : "Go" ,
367- uri : "https://example.com"
367+ uri : "https://example.com" ,
368+ altUri : {
369+ desktop : "https://example.com#desktop"
370+ } ,
368371 }
369372 }
370373 ]
@@ -393,7 +396,10 @@ def handle_message(event)
393396 action : {
394397 type : "uri" ,
395398 label : "Go" ,
396- uri : "https://example.com"
399+ uri : "https://example.com" ,
400+ altUri : {
401+ desktop : "https://example.com#desktop"
402+ }
397403 }
398404 }
399405 ]
0 commit comments