From 3319944d2cfcbe3e018666b165389c4e3a2fa25c Mon Sep 17 00:00:00 2001 From: Dimas Restu H Date: Mon, 18 Mar 2024 20:41:06 +0700 Subject: [PATCH] add send poll request type to be used in controller --- internal/whatsapp/types/request.go | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/internal/whatsapp/types/request.go b/internal/whatsapp/types/request.go index 6443b57..a20cec7 100644 --- a/internal/whatsapp/types/request.go +++ b/internal/whatsapp/types/request.go @@ -28,6 +28,13 @@ type RequestSendLink struct { URL string } +type RequestSendPoll struct { + RJID string + Question string + Options []string + MultipleAnswer bool +} + type RequestMessage struct { RJID string MSGID string