public static class TdApi.ReplacePrimaryChatInviteLink extends TdApi.Function
Returns ChatInviteLink
TdApi.Function.Constructors
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() |
toString
public long chatId
public static final int CONSTRUCTOR
public ReplacePrimaryChatInviteLink()
Returns ChatInviteLink
public ReplacePrimaryChatInviteLink(long chatId)
Returns ChatInviteLink
chatId
- Chat identifier.public int getConstructor()
getConstructor
in class TdApi.Function