Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // cara membuat fake polling + ch
- const content = {
- pollResultSnapshotMessage: {
- pollVotes: [
- {
- optionName: "🏆 Alex",
- optionVoteCount: 113
- },
- {
- optionName: "NajmyW || anabot.my.id",
- optionVoteCount: 90
- },
- {
- optionName: "wolep",
- optionVoteCount: 71
- },
- {
- optionName: "EXSALAPI.MY.ID",
- optionVoteCount: 43
- },
- {
- optionName: "gienetic",
- optionVoteCount: 29
- }
- ],
- name: "top 5 member yapping today! on NB: Ctrl + Z",
- contextInfo: {
- forwardingScore: 127,
- isForwarded: true,
- forwardedNewsletterMessageInfo: {
- newsletterJid: "120363402847020951@newsletter",
- serverMessageId: 0,
- newsletterName: "furry mengkoding"
- },
- forwardOrigin: 0
- },
- pollType: 0
- }
- }
- const relayOption = {}
- await sock.relayMessage(jid, content, relayOption)