Class TdApi.UpgradeBasicGroupChatToSupergroupChat

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

public static class TdApi.UpgradeBasicGroupChatToSupergroupChat
extends TdApi.Function
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:
      Constant Field Values
  • 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
      Throws:
      IOException
  • Method Details