Module tdlight.api

Class TdApi.CreateNewBasicGroupChat

Enclosing class:
TdApi

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

Returns Chat

  • Field Details

    • 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
      See Also:
  • Constructor Details

    • CreateNewBasicGroupChat

      public CreateNewBasicGroupChat()
      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 new basic group and sends a corresponding messageBasicGroupChatCreate. Returns the newly created chat.

      Returns Chat

      Parameters:
      userIds - long[] Identifiers of users to be added to the basic group.
      title - String Title of the new basic group; 1-128 characters.
    • CreateNewBasicGroupChat

      public CreateNewBasicGroupChat(DataInput input) throws IOException
      Creates a new basic group and sends a corresponding messageBasicGroupChatCreate. Returns the newly created chat.

      Returns Chat

      Throws:
      IOException
  • Method Details