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