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 Detail

      • inviteLink

        public String inviteLink
        Invite link to use.
      • CONSTRUCTOR

        public static final int CONSTRUCTOR
        Identifier uniquely determining type of the object.
        See Also:
        Constant Field Values
    • Constructor Detail

      • JoinChatByInviteLink

        public JoinChatByInviteLink()
        Default constructor for a function, which uses an invite link to add the current user to the chat if possible.

        Returns Chat

      • JoinChatByInviteLink

        public JoinChatByInviteLink​(String inviteLink)
        Creates a function, which uses an invite link to add the current user to the chat if possible.

        Returns Chat

        Parameters:
        inviteLink - Invite link to use.