Package it.tdlight.jni
Class TdApi.GetMessageImportConfirmationText
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Function
it.tdlight.jni.TdApi.GetMessageImportConfirmationText
- Enclosing class:
- TdApi
public static class TdApi.GetMessageImportConfirmationText extends TdApi.Function
Returns a confirmation text to be
shown to the user before starting message import.
Returns Text
-
Field Summary
Fields Modifier and Type Field Description long
chatId
Identifier of a chat to which the messages will be imported.static int
CONSTRUCTOR
-
Constructor Summary
Constructors Constructor Description GetMessageImportConfirmationText()
Returns a confirmation text to be shown to the user before starting message import.GetMessageImportConfirmationText(long chatId)
Returns a confirmation text to be shown to the user before starting message import.GetMessageImportConfirmationText(DataInput input)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutput output)
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
chatId
public long chatIdIdentifier 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 administrator right. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
GetMessageImportConfirmationText
public GetMessageImportConfirmationText()Returns a confirmation text to be shown to the user before starting message import.Returns
Text
-
GetMessageImportConfirmationText
public GetMessageImportConfirmationText(long chatId)Returns a confirmation text to be shown to the user before starting message import.Returns
Text
- Parameters:
chatId
- long 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 administrator right.
-
GetMessageImportConfirmationText
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-