Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
Component Sharing
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
CI / CD Analytics
Repository Analytics
Value Stream Analytics
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Gagandeep Singh Bhatia
Component Sharing
Commits
29c4b413
Commit
29c4b413
authored
Jul 09, 2025
by
Ajit Deshmukh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add "direction" field with the getter setter method.
parent
b8acdcc6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
2 deletions
+14
-2
Ajit/WhatsApp two-way Communication bot/src/WhatsAppWebhookUpdate.java
... two-way Communication bot/src/WhatsAppWebhookUpdate.java
+14
-2
No files found.
Ajit/WhatsApp two-way Communication bot/src/WhatsAppWebhookUpdate.java
View file @
29c4b413
...
...
@@ -21,6 +21,7 @@ public class WhatsAppWebhookUpdate {
private
List
<
Message
>
messages
;
private
String
template_name
;
// can be null
private
String
template_language
;
// can be null
private
int
direction
;
...
...
@@ -34,7 +35,7 @@ public class WhatsAppWebhookUpdate {
}
public
String
getSender
()
{
System
.
out
.
println
(
"In WhatsAppWebhookUpdate getSender"
);
System
.
out
.
println
(
"In WhatsAppWebhookUpdate getSender
..
"
);
return
sender
;
}
...
...
@@ -133,7 +134,18 @@ public class WhatsAppWebhookUpdate {
public
static
class
Contact
{
public
int
getDirection
()
{
return
direction
;
}
public
void
setDirection
(
int
direction
)
{
this
.
direction
=
direction
;
}
public
static
class
Contact
{
private
Profile
profile
;
private
String
wa_id
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment