Class MessageEntity
- java.lang.Object
-
- org.telegram.telegrambots.meta.api.objects.MessageEntity
-
- All Implemented Interfaces:
Serializable,BotApiObject
public class MessageEntity extends Object implements BotApiObject
- Version:
- 1.0 This object represents one special entity in a text message. For example, hashtags, usernames, URL.
- Author:
- Ruben Bermudez
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MessageEntity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcomputeText(String message)StringgetLanguage()IntegergetLength()IntegergetOffset()StringgetText()StringgetType()StringgetUrl()UsergetUser()StringtoString()
-
-
-
Method Detail
-
getType
public String getType()
-
getOffset
public Integer getOffset()
-
getLength
public Integer getLength()
-
getUrl
public String getUrl()
-
getText
public String getText()
-
getUser
public User getUser()
-
getLanguage
public String getLanguage()
-
computeText
protected void computeText(String message)
-
-