Package org.drinkless.tdlib
Class TdApi.GetMessageImportConfirmationText
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.Function
-
- org.drinkless.tdlib.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 longchatIdIdentifier of a chat to which the messages will be imported.static intCONSTRUCTORIdentifier uniquely determining type of the object.
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
-
-
-
Field Detail
-
chatId
public long 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 administrator right.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
GetMessageImportConfirmationText
public GetMessageImportConfirmationText()
Default constructor for a function, which returns a confirmation text to be shown to the user before starting message import.Returns
Text
-
GetMessageImportConfirmationText
public GetMessageImportConfirmationText(long chatId)
Creates a function, which returns a confirmation text to be shown to the user before starting message import.Returns
Text- Parameters:
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 administrator right.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-