public class MessageEntity extends Object implements IBotApiObject
| Constructor and Description |
|---|
MessageEntity() |
MessageEntity(org.json.JSONObject jsonObject) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
computeText(String message) |
Integer |
getLength() |
Integer |
getOffset() |
String |
getText() |
String |
getType() |
String |
getUrl() |
User |
getUser() |
void |
serialize(com.fasterxml.jackson.core.JsonGenerator gen,
com.fasterxml.jackson.databind.SerializerProvider serializers) |
void |
serializeWithType(com.fasterxml.jackson.core.JsonGenerator gen,
com.fasterxml.jackson.databind.SerializerProvider serializers,
com.fasterxml.jackson.databind.jsontype.TypeSerializer typeSer) |
String |
toString() |
public MessageEntity()
public MessageEntity(org.json.JSONObject jsonObject)
public String getType()
public Integer getOffset()
public Integer getLength()
public String getUrl()
public String getText()
public User getUser()
protected void computeText(String message)
public void serialize(com.fasterxml.jackson.core.JsonGenerator gen,
com.fasterxml.jackson.databind.SerializerProvider serializers)
throws IOException
serialize in interface com.fasterxml.jackson.databind.JsonSerializableIOExceptionpublic void serializeWithType(com.fasterxml.jackson.core.JsonGenerator gen,
com.fasterxml.jackson.databind.SerializerProvider serializers,
com.fasterxml.jackson.databind.jsontype.TypeSerializer typeSer)
throws IOException
serializeWithType in interface com.fasterxml.jackson.databind.JsonSerializableIOExceptionCopyright © 2016. All rights reserved.