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. The new member will not be added until the chat state has been synchronized with the server.

    Returns Chat

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      java.lang.String inviteLink
      Invite link to import; should begin with "https://t.me/joinchat/", "https://telegram.me/joinchat/", or "https://telegram.dog/joinchat/".
    • Field Detail

      • inviteLink

        public java.lang.String inviteLink
        Invite link to import; should begin with "https://t.me/joinchat/", "https://telegram.me/joinchat/", or "https://telegram.dog/joinchat/".
      • 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.
      • JoinChatByInviteLink

        public JoinChatByInviteLink​(java.lang.String inviteLink)
        Constructor for initialization of all fields.
        Parameters:
        inviteLink - Invite link to import; should begin with "https://t.me/joinchat/", "https://telegram.me/joinchat/", or "https://telegram.dog/joinchat/".