Module tdlight.api

Class TdApi.UpgradeBasicGroupChatToSupergroupChat

java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Function<TdApi.Chat>
it.tdlight.jni.TdApi.UpgradeBasicGroupChatToSupergroupChat
Enclosing class:
TdApi

public static final class TdApi.UpgradeBasicGroupChatToSupergroupChat extends TdApi.Function<TdApi.Chat>
Creates a new supergroup from an existing basic group and sends a corresponding messageChatUpgradeTo and messageChatUpgradeFrom; requires creator privileges. Deactivates the original basic group. Returns Chat
  • Field Details

    • chatId

      public long chatId
      Identifier of the chat to upgrade.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
  • Constructor Details

    • UpgradeBasicGroupChatToSupergroupChat

      public UpgradeBasicGroupChatToSupergroupChat()
      Creates a new supergroup from an existing basic group and sends a corresponding messageChatUpgradeTo and messageChatUpgradeFrom; requires creator privileges. Deactivates the original basic group. Returns Chat
    • UpgradeBasicGroupChatToSupergroupChat

      public UpgradeBasicGroupChatToSupergroupChat(long chatId)
      Creates a new supergroup from an existing basic group and sends a corresponding messageChatUpgradeTo and messageChatUpgradeFrom; requires creator privileges. Deactivates the original basic group. Returns Chat
      Parameters:
      chatId - long Identifier of the chat to upgrade.
    • UpgradeBasicGroupChatToSupergroupChat

      public UpgradeBasicGroupChatToSupergroupChat(DataInput input) throws IOException
      Creates a new supergroup from an existing basic group and sends a corresponding messageChatUpgradeTo and messageChatUpgradeFrom; requires creator privileges. Deactivates the original basic group. Returns Chat
      Throws:
      IOException
  • Method Details