public abstract class WhatsAppInboundMessage extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
SERIALIZED_NAME_CONTEXT |
static String |
SERIALIZED_NAME_TYPE |
protected WhatsAppType |
type |
| Constructor and Description |
|---|
WhatsAppInboundMessage() |
| Modifier and Type | Method and Description |
|---|---|
WhatsAppInboundMessage |
context(WhatsAppContext context) |
boolean |
equals(Object o) |
WhatsAppContext |
getContext()
Get context
|
WhatsAppType |
getType()
Get type
|
int |
hashCode() |
void |
setContext(WhatsAppContext context) |
void |
setType(WhatsAppType type) |
String |
toString() |
WhatsAppInboundMessage |
type(WhatsAppType type) |
public static final String SERIALIZED_NAME_TYPE
@SerializedName(value="type") protected WhatsAppType type
public static final String SERIALIZED_NAME_CONTEXT
public WhatsAppInboundMessage type(WhatsAppType type)
public WhatsAppType getType()
public void setType(WhatsAppType type)
public WhatsAppInboundMessage context(WhatsAppContext context)
public WhatsAppContext getContext()
public void setContext(WhatsAppContext context)
Copyright © 2022. All rights reserved.