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; may be empty to create a basic group without other members.
    • title

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

      public int messageAutoDeleteTime
      Message auto-delete time value, in seconds; must be from 0 up to 365 * 86400 and be divisible by 86400. If 0, then messages aren't deleted automatically.
    • 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, int messageAutoDeleteTime)
      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; may be empty to create a basic group without other members.
      title - String Title of the new basic group; 1-128 characters.
      messageAutoDeleteTime - int Message auto-delete time value, in seconds; must be from 0 up to 365 * 86400 and be divisible by 86400. If 0, then messages aren't deleted automatically.
    • 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