Class 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 Summary

    Fields
    Modifier and Type
    Field
    Description
    long
    Identifier of a chat to which the messages will be imported.
    static final int
    Identifier uniquely determining type of the object.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default constructor for a function, which returns a confirmation text to be shown to the user before starting message import.
    Creates a function, which returns a confirmation text to be shown to the user before starting message import.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns an identifier uniquely determining type of the object.

    Methods inherited from class dev.voroby.springframework.telegram.client.TdApi.Function

    toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • 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

    • getConstructor

      public int getConstructor()
      Description copied from class: TdApi.Object
      Returns an identifier uniquely determining type of the object.
      Specified by:
      getConstructor in class TdApi.Object
      Returns:
      this.CONSTRUCTOR