Class TdApi.GetMessageImportConfirmationText

java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.Function<TdApi.Text>
org.drinkless.tdlib.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 member right.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier 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