-
Notifications
You must be signed in to change notification settings - Fork 36
/
Copy pathHookData.vb
45 lines (33 loc) · 1.18 KB
/
HookData.vb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
Imports System.Text.Json.Serialization
Namespace WhatsappChatbotVB
Public Class Data
<JsonPropertyName("id")>
Public Property Id As String
<JsonPropertyName("from")>
Public Property From As String
<JsonPropertyName("to")>
Public Property [To] As String
<JsonPropertyName("ack")>
Public Property Ack As String
<JsonPropertyName("type")>
Public Property Type As String
<JsonPropertyName("body")>
Public Property Body As String
<JsonPropertyName("media")>
Public Property Media As String
<JsonPropertyName("fromMe")>
Public Property FromMe As Boolean
<JsonPropertyName("isForwarded")>
Public Property IsForwarded As Boolean
<JsonPropertyName("time")>
Public Property Time As Long
End Class
Public Class HookData
<JsonPropertyName("event_type")>
Public Property EventType As String
<JsonPropertyName("instanceId")>
Public Property InstanceId As String
<JsonPropertyName("data")>
Public Property Data As Data
End Class
End Namespace