public static class TdApi.GetMessageImportConfirmationText extends TdApi.Function<TdApi.Text>
Returns Text
| Modifier and Type | Field and Description |
|---|---|
long |
chatId
Identifier of a chat to which the messages will be imported.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
| Constructor and Description |
|---|
GetMessageImportConfirmationText()
Default constructor for a function, which returns a confirmation text to be shown to the user before starting message import.
|
GetMessageImportConfirmationText(long chatId)
Creates a function, which returns a confirmation text to be shown to the user before starting message import.
|
| 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 GetMessageImportConfirmationText()
Returns Text
public GetMessageImportConfirmationText(long chatId)
Returns Text
chatId - Identifier of a chat to which the messages will be imported. It must be an identifier of a private chat with a mutual contact or an identifier of a supergroup chat with canChangeInfo member right.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object