Class TdApi.CreateNewBasicGroupChat

  • Enclosing class:
    TdApi

    public static class TdApi.CreateNewBasicGroupChat
    extends TdApi.Function
    Creates a new basic group and sends a corresponding messageBasicGroupChatCreate. Returns the newly created chat.

    Returns Chat

    • Field Detail

      • userIds

        public long[] userIds
        Identifiers of users to be added to the basic group.
      • title

        public String title
        Title of the new basic group; 1-128 characters.
      • CONSTRUCTOR

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

      • CreateNewBasicGroupChat

        public CreateNewBasicGroupChat()
        Default constructor for a function, which creates a new basic group and sends a corresponding messageBasicGroupChatCreate. Returns the newly created chat.

        Returns Chat

      • CreateNewBasicGroupChat

        public CreateNewBasicGroupChat​(long[] userIds,
                                       String title)
        Creates a function, which creates a new basic group and sends a corresponding messageBasicGroupChatCreate. Returns the newly created chat.

        Returns Chat

        Parameters:
        userIds - Identifiers of users to be added to the basic group.
        title - Title of the new basic group; 1-128 characters.