java.lang.Object
com.whatsapp.api.domain.messages.Url

public class Url extends Object
Contact URL(s) formatted as a urls object
  • Constructor Details

    • Url

      public Url()
  • Method Details

    • getType

      public UrlType getType()
      Gets type.
      Returns:
      the type
    • setType

      public Url setType(UrlType type)
      Sets type.
      Parameters:
      type - the type. Standard values are HOME and WORK.
      Returns:
      the type
    • getUrl

      public String getUrl()
      Gets url.
      Returns:
      the url
    • setUrl

      public Url setUrl(String url)
      Sets url.
      Parameters:
      url - the url
      Returns:
      the url