Class TdApi.LinkPreviewTypeChat

Enclosing class:
TdApi

public static class TdApi.LinkPreviewTypeChat extends TdApi.LinkPreviewType
The link is a link to a chat.
  • Field Details

    • type

      Type of the chat.
    • photo

      public TdApi.ChatPhoto photo
      Photo of the chat; may be null.
    • createsJoinRequest

      public boolean createsJoinRequest
      True, if the link only creates join request.
    • CONSTRUCTOR

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

    • LinkPreviewTypeChat

      public LinkPreviewTypeChat()
      The link is a link to a chat.
    • LinkPreviewTypeChat

      public LinkPreviewTypeChat(TdApi.InviteLinkChatType type, TdApi.ChatPhoto photo, boolean createsJoinRequest)
      The link is a link to a chat.
      Parameters:
      type - Type of the chat.
      photo - Photo of the chat; may be null.
      createsJoinRequest - True, if the link only creates join request.
  • 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