Class TdApi.MessageContact

Enclosing class:
TdApi

public static class TdApi.MessageContact extends TdApi.MessageContent
A message with a user contact.
  • Field Details

    • contact

      public TdApi.Contact contact
      The contact description.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      See Also:
  • Constructor Details

    • MessageContact

      public MessageContact()
      A message with a user contact.
    • MessageContact

      public MessageContact(TdApi.Contact contact)
      A message with a user contact.
      Parameters:
      contact - The contact description.
  • Method Details

    • getConstructor

      public int getConstructor()
      Description copied from class: TdApi.Object
      Returns an identifier uniquely determining type of the object.
      Specified by:
      getConstructor in class TdApi.Object
      Returns:
      this.CONSTRUCTOR