Module tdlight.api

Class TdApi.JoinChatByInviteLink

Enclosing class:
TdApi

public static final class TdApi.JoinChatByInviteLink extends TdApi.Function<TdApi.Chat>
Uses an invite link to add the current user to the chat if possible. May return an error with a message "INVITE_REQUEST_SENT" if only a join request was created. Returns Chat
  • Field Details

    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
  • Constructor Details

    • JoinChatByInviteLink

      public JoinChatByInviteLink()
      Uses an invite link to add the current user to the chat if possible. May return an error with a message "INVITE_REQUEST_SENT" if only a join request was created. Returns Chat
    • JoinChatByInviteLink

      public JoinChatByInviteLink(String inviteLink)
      Uses an invite link to add the current user to the chat if possible. May return an error with a message "INVITE_REQUEST_SENT" if only a join request was created. Returns Chat
      Parameters:
      inviteLink - String Invite link to use.
    • JoinChatByInviteLink

      public JoinChatByInviteLink(DataInput input) throws IOException
      Uses an invite link to add the current user to the chat if possible. May return an error with a message "INVITE_REQUEST_SENT" if only a join request was created. Returns Chat
      Throws:
      IOException
  • Method Details