Class IncomingMessageEntity

java.lang.Object
org.apache.camel.component.telegram.model.IncomingMessageEntity

public class IncomingMessageEntity extends Object
This object represents one special entity in a text message. For example, hashtags, usernames, URLs, etc.
See Also:
  • Constructor Details

    • IncomingMessageEntity

      public IncomingMessageEntity()
  • Method Details

    • getType

      public String getType()
    • setType

      public void setType(String type)
    • getOffset

      public Integer getOffset()
    • setOffset

      public void setOffset(Integer offset)
    • getLength

      public Integer getLength()
    • setLength

      public void setLength(Integer length)
    • getUrl

      public String getUrl()
    • setUrl

      public void setUrl(String url)
    • getUser

      public User getUser()
    • setUser

      public void setUser(User user)
    • toString

      public String toString()
      Overrides:
      toString in class Object