public static class TdApi.UpgradeBasicGroupChatToSupergroupChat extends TdApi.Function<TdApi.Chat>
Returns Chat
| 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 owner 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 owner privileges.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic 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()
TdApi.ObjectgetConstructor in class TdApi.Object