Package org.drinkless.tdlib

# Class TdApi.MessageImportInfo

java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.MessageImportInfo

Enclosing class:
  `TdApi`

public static class TdApi.MessageImportInfo extends TdApi.Object
Contains information about a message created with importMessages.

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `static final int`
  `CONSTRUCTOR`
  Identifier uniquely determining type of the object.
  `int`
  `date`
  Point in time (Unix timestamp) when the message was originally sent.
  `String`
  `senderName`
  Name of the original sender.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `MessageImportInfo()`
  Contains information about a message created with importMessages.
  `MessageImportInfo(String senderName, int date)`
  Contains information about a message created with importMessages.

- ## Method Summary

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

  ### Methods inherited from class org.drinkless.tdlib.TdApi.Object

  `toString`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Field Details

  - ### senderName

    public String senderName
    Name of the original sender.

  - ### date

    public int date
    Point in time (Unix timestamp) when the message was originally sent.

  - ### CONSTRUCTOR

    public static final int CONSTRUCTOR
    Identifier uniquely determining type of the object.
    See Also:
      - Constant Field Values

- ## Constructor Details

  - ### MessageImportInfo

    public MessageImportInfo()
    Contains information about a message created with importMessages.

  - ### MessageImportInfo

    public MessageImportInfo(String senderName, int date)
    Contains information about a message created with importMessages.
    Parameters:
      `senderName` - Name of the original sender.
      `date` - Point in time (Unix timestamp) when the message was originally sent.

- ## 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