Module tdlight.api

Class TdApi.GetMessageImportConfirmationText

java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Function<TdApi.Text>
it.tdlight.jni.TdApi.GetMessageImportConfirmationText
Enclosing class:
TdApi

public static class TdApi.GetMessageImportConfirmationText extends TdApi.Function<TdApi.Text>
Returns a confirmation text to be shown to the user before starting message import.

Returns Text

  • Field Details

    • 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
      See Also:
  • 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

      public GetMessageImportConfirmationText(DataInput input) throws IOException
      Throws:
      IOException
  • Method Details