Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
VeServe Joeson committed Aug 19, 2022
1 parent 19d3505 commit c75cc5a
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions examples/sending-message.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ const sendMessage = async (endpoint, data) => {
// await sendMessage('chats/send', {
// receiver: '85256660357',
// message: {
// text: "The sub9 messaging gateway works now.",
// footer: 'Hello World',
// text: "Testing whatsapp gateway",
// footer: 'HI JOny',
// buttons: buttons,
// headerType: 1
// },
Expand All @@ -67,13 +67,13 @@ const sendMessage = async (endpoint, data) => {
// ])

// // Send Text Message to a Group
await sendMessage('groups/send', {
receiver: '85291880430-1597154744',
message: {
text: "禮拜六幾點練歌?",
footer: 'JA~',
buttons: buttons,
headerType: 1
},
})
// await sendMessage('groups/send', {
// receiver: '85291880430-1597154744',
// message: {
// text: "禮拜六幾點練歌?",
// footer: 'JA~',
// buttons: buttons,
// headerType: 1
// },
// })
})()

0 comments on commit c75cc5a

Please sign in to comment.