Class Attachment.ContactCardAttachment

  • Enclosing class:
    Attachment

    public static class Attachment.ContactCardAttachment
    extends Attachment
    A contact card attachment.
    Since:
    1.0.0
    Version:
    1.0.0
    Author:
    Kaktushose
    See Also:
    Attachment
    • Constructor Detail

      • ContactCardAttachment

        protected ContactCardAttachment​(DataObject attachment)
    • Method Detail

      • getContactId

        public String getContactId()
        Gets the contact id, e.g. the phone number, Instagram name, etc.
        Returns:
        the contact id
      • getContactType

        public String getContactType()
        Gets the type of contact card, e.g. phone, Instagram, Facebook, etc.
        Returns:
        the type of contact card
      • getUrl

        public String getUrl()
        If present, gets the url to the social media profile.
        Returns:
        the url to the social media profile