Class TdApi.SearchChatMembers

  • Enclosing class:
    TdApi

    public static class TdApi.SearchChatMembers
    extends TdApi.Function
    Searches for a specified query in the first name, last name and username of the members of a specified chat. Requires administrator rights in channels.

    Returns ChatMembers

    • Field Summary

      Fields 
      Modifier and Type Field Description
      long chatId
      Chat identifier.
      static int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      int limit
      The maximum number of users to be returned.
      java.lang.String query
      Query to search for.
    • Constructor Summary

      Constructors 
      Constructor Description
      SearchChatMembers()
      Default constructor.
      SearchChatMembers​(long chatId, java.lang.String query, int limit)
      Constructor for initialization of all fields.
    • Field Detail

      • chatId

        public long chatId
        Chat identifier.
      • query

        public java.lang.String query
        Query to search for.
      • limit

        public int limit
        The maximum number of users to be returned.
      • CONSTRUCTOR

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

      • SearchChatMembers

        public SearchChatMembers()
        Default constructor.
      • SearchChatMembers

        public SearchChatMembers​(long chatId,
                                 java.lang.String query,
                                 int limit)
        Constructor for initialization of all fields.
        Parameters:
        chatId - Chat identifier.
        query - Query to search for.
        limit - The maximum number of users to be returned.