public static class TdApi.UpgradeBasicGroupChatToSupergroupChat extends TdApi.Function
Returns Chat
TdApi.Function.Constructors
Modifier and Type | Field and Description |
---|---|
long |
chatId
Identifier of the chat to upgrade.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
Constructor and Description |
---|
UpgradeBasicGroupChatToSupergroupChat()
Default constructor for a function, which creates a new supergroup from an existing basic group and sends a corresponding messageChatUpgradeTo and messageChatUpgradeFrom; requires creator privileges.
|
UpgradeBasicGroupChatToSupergroupChat(long chatId)
Creates a function, which creates a new supergroup from an existing basic group and sends a corresponding messageChatUpgradeTo and messageChatUpgradeFrom; requires creator privileges.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public long chatId
public static final int CONSTRUCTOR
public UpgradeBasicGroupChatToSupergroupChat()
Returns Chat
public UpgradeBasicGroupChatToSupergroupChat(long chatId)
Returns Chat
chatId
- Identifier of the chat to upgrade.public int getConstructor()
getConstructor
in class TdApi.Function