Module tdlight.api

Class TdApi.PushMessageContentContact

Enclosing class:
TdApi

public static class TdApi.PushMessageContentContact extends TdApi.PushMessageContent
A message with a user contact.
  • Field Details

    • name

      public String name
      Contact's name.
    • isPinned

      public boolean isPinned
      True, if the message is a pinned message with the specified content.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
  • Constructor Details

    • PushMessageContentContact

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

      public PushMessageContentContact(String name, boolean isPinned)
      A message with a user contact.
      Parameters:
      name - String Contact's name.
      isPinned - boolean True, if the message is a pinned message with the specified content.
    • PushMessageContentContact

      public PushMessageContentContact(DataInput input) throws IOException
      Throws:
      IOException
  • Method Details