Class TdApi.MessageOriginChannel

Enclosing class:
TdApi

public static class TdApi.MessageOriginChannel extends TdApi.MessageOrigin
The message was originally a post in a channel.
  • 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:
  • 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.Object
      Returns:
      this.CONSTRUCTOR