This commit is contained in:
建喵 2022-12-13 12:24:21 +08:00
parent 61fdb6c540
commit 81d86648db

View File

@ -25,7 +25,7 @@ function getP() {
document.getElementById("imagex").addEventListener("click", function () { document.getElementById("imagex").addEventListener("click", function () {
const data = [{ const data = [{
"type": "text", "type": "text",
"text": ("line://app/1657715144-m4W6lyjL?type=image&img=https://wallpaperstudio10.com/static/wpdb/wallpapers/1000x563/168891.jpg\n\ntype => image\nimg => Link (must be HTTPS)") "text": ("https://liff.line.me/1657715144-m4W6lyjL?type=image&img=https://wallpaperstudio10.com/static/wpdb/wallpapers/1000x563/168891.jpg\n\ntype => image\nimg => Link (must be HTTPS)")
}]; }];
sendMessages(data); sendMessages(data);
@ -33,7 +33,7 @@ function getP() {
document.getElementById("videox").addEventListener("click", function () { document.getElementById("videox").addEventListener("click", function () {
const data = [{ const data = [{
"type": "text", "type": "text",
"text": ("line://app/1657715144-m4W6lyjL?type=video&ocu=https://tinyurl.com/y8og3or5&piu=https://images6.alphacoders.com/710/thumb-350-710132.png\n\ntype => video\nocu => video url\npiu => preview image") "text": ("https://liff.line.me/1657715144-m4W6lyjL?type=video&ocu=https://tinyurl.com/y8og3or5&piu=https://images6.alphacoders.com/710/thumb-350-710132.png\n\ntype => video\nocu => video url\npiu => preview image")
}]; }];
sendMessages(data); sendMessages(data);
@ -41,7 +41,7 @@ function getP() {
document.getElementById("audiox").addEventListener("click", function () { document.getElementById("audiox").addEventListener("click", function () {
const data = [{ const data = [{
"type": "text", "type": "text",
"text": ("line://app/1657715144-m4W6lyjL?type=audio&link=https://platelets.fun/public/sounds/music.mp3") "text": ("https://liff.line.me/1657715144-m4W6lyjL?type=audio&link=https://platelets.fun/public/sounds/music.mp3")
}]; }];
sendMessages(data); sendMessages(data);
@ -49,7 +49,7 @@ function getP() {
document.getElementById("stickerx").addEventListener("click", function () { document.getElementById("stickerx").addEventListener("click", function () {
const data = [{ const data = [{
"type": "text", "type": "text",
"text": ("With Animation:\nline://app/1657715144-m4W6lyjL?type=sticker&stk=anim&sid=32128231&pkg=3099312\n\nNo Animation:\nline://app/1657715144-m4W6lyjL?type=sticker&stk=noanim&sid=32128231&pkg=3099312\n\ntype => sticker\nstk => anim / noanim\nsid => sticker id\npkg => packages id") "text": ("With Animation:\nhttps://liff.line.me/1657715144-m4W6lyjL?type=sticker&stk=anim&sid=32128231&pkg=3099312\n\nNo Animation:\nhttps://liff.line.me/1657715144-m4W6lyjL?type=sticker&stk=noanim&sid=32128231&pkg=3099312\n\ntype => sticker\nstk => anim / noanim\nsid => sticker id\npkg => packages id")
}]; }];
sendMessages(data); sendMessages(data);
@ -186,7 +186,7 @@ function meProfile() {
"actions": [{ "actions": [{
"type": "uri", "type": "uri",
"label": "Me", "label": "Me",
"uri": "line://app/1657715144-m4W6lyjL?type=profile" "uri": "https://liff.line.me/1657715144-m4W6lyjL?type=profile"
}] }]
} }
}]; }];