Class TdApi.CheckChatUsername

    • Field Summary

      Fields 
      Modifier and Type Field Description
      long chatId
      Chat identifier; should be identifier of a supergroup chat, or a channel chat, or a private chat with self, or zero if chat is being created.
      static int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      java.lang.String username
      Username to be checked.
    • Constructor Summary

      Constructors 
      Constructor Description
      CheckChatUsername()
      Default constructor.
      CheckChatUsername​(long chatId, java.lang.String username)
      Constructor for initialization of all fields.
    • Field Detail

      • chatId

        public long chatId
        Chat identifier; should be identifier of a supergroup chat, or a channel chat, or a private chat with self, or zero if chat is being created.
      • username

        public java.lang.String username
        Username to be checked.
      • CONSTRUCTOR

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

      • CheckChatUsername

        public CheckChatUsername()
        Default constructor.
      • CheckChatUsername

        public CheckChatUsername​(long chatId,
                                 java.lang.String username)
        Constructor for initialization of all fields.
        Parameters:
        chatId - Chat identifier; should be identifier of a supergroup chat, or a channel chat, or a private chat with self, or zero if chat is being created.
        username - Username to be checked.