public static class TdApi.ReplacePrimaryChatInviteLink extends TdApi.Function<TdApi.ChatInviteLink>
Returns ChatInviteLink
| Modifier and Type | Field and Description |
|---|---|
long |
chatId
Chat identifier.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
| Constructor and Description |
|---|
ReplacePrimaryChatInviteLink()
Default constructor for a function, which replaces current primary invite link for a chat with a new primary invite link.
|
ReplacePrimaryChatInviteLink(long chatId)
Creates a function, which replaces current primary invite link for a chat with a new primary invite link.
|
| 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 ReplacePrimaryChatInviteLink()
Returns ChatInviteLink
public ReplacePrimaryChatInviteLink(long chatId)
Returns ChatInviteLink
chatId - Chat identifier.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object