Class TdApi.JoinChatByInviteLink

Enclosing class:
TdApi

public static class TdApi.JoinChatByInviteLink
extends TdApi.Function
Uses an invite link to add the current user to the chat if possible.

Returns Chat

  • Field Details

    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
      Constant Field Values
  • Constructor Details

    • JoinChatByInviteLink

      public JoinChatByInviteLink()
      Uses an invite link to add the current user to the chat if possible.

      Returns Chat

    • JoinChatByInviteLink

      public JoinChatByInviteLink​(String inviteLink)
      Uses an invite link to add the current user to the chat if possible.

      Returns Chat

      Parameters:
      inviteLink - String Invite link to import; must have URL "t.me", "telegram.me", or "telegram.dog" and query beginning with "/joinchat/" or "/+".
    • JoinChatByInviteLink

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