Package org.drinkless.tdlib

# Class TdApi.MessageOriginChannel

java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.MessageOrigin
org.drinkless.tdlib.TdApi.MessageOriginChannel

Enclosing class:
  `TdApi`

public static class TdApi.MessageOriginChannel extends TdApi.MessageOrigin
The message was originally a post in a channel.

- ## Nested Class Summary

  ## Nested classes/interfaces inherited from class org.drinkless.tdlib.TdApi.MessageOrigin

  `TdApi.MessageOrigin.Constructors`

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `String`
  `authorSignature`
  Original post author signature.
  `long`
  `chatId`
  Identifier of the channel chat to which the message was originally sent.
  `static final int`
  `CONSTRUCTOR`
  Identifier uniquely determining type of the object.
  `long`
  `messageId`
  Message identifier of the original message.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `MessageOriginChannel()`
  The message was originally a post in a channel.
  `MessageOriginChannel(long chatId, long messageId, String authorSignature)`
  The message was originally a post in a channel.

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

  - ### chatId

    public long chatId
    Identifier of the channel chat to which the message was originally sent.

  - ### messageId

    public long messageId
    Message identifier of the original message.

  - ### authorSignature

    public String authorSignature
    Original post author signature.

  - ### CONSTRUCTOR

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

- ## Constructor Details

  - ### MessageOriginChannel

    public MessageOriginChannel()
    The message was originally a post in a channel.

  - ### MessageOriginChannel

    public MessageOriginChannel(long chatId, long messageId, String authorSignature)
    The message was originally a post in a channel.
    Parameters:
      `chatId` - Identifier of the channel chat to which the message was originally sent.
      `messageId` - Message identifier of the original message.
      `authorSignature` - Original post author signature.

- ## 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.MessageOrigin`
    Returns:
      this.CONSTRUCTOR