Class TdApi.LinkPreviewTypeUser

Enclosing class:
TdApi

public static class TdApi.LinkPreviewTypeUser extends TdApi.LinkPreviewType
The link is a link to a user.
  • Field Details

    • photo

      public TdApi.ChatPhoto photo
      Photo of the user; may be null if none.
    • isBot

      public boolean isBot
      True, if the user is a bot.
    • CONSTRUCTOR

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

    • LinkPreviewTypeUser

      public LinkPreviewTypeUser()
      The link is a link to a user.
    • LinkPreviewTypeUser

      public LinkPreviewTypeUser(TdApi.ChatPhoto photo, boolean isBot)
      The link is a link to a user.
      Parameters:
      photo - Photo of the user; may be null if none.
      isBot - True, if the user is a bot.
  • 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