Class TdApi.GetMessageImportConfirmationText
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.Function<TdApi.Text>
dev.voroby.springframework.telegram.client.TdApi.GetMessageImportConfirmationText
- Enclosing class:
- TdApi
Returns a confirmation text to be shown to the user before starting message import.
Returns Text
-
Field Summary
Modifier and TypeFieldDescriptionlong
Identifier of a chat to which the messages will be imported.static final int
Identifier uniquely determining type of the object. -
Constructor Summary
ConstructorDescriptionDefault 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
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class dev.voroby.springframework.telegram.client.TdApi.Function
toString
-
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 member right. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
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 member right.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-