Class TdApi.MessageOriginChannel

Enclosing class:
TdApi

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

    Fields
    Modifier and Type
    Field
    Description
    Original post author signature.
    long
    Identifier of the channel chat to which the message was originally sent.
    static final int
    Identifier uniquely determining type of the object.
    long
    Message identifier of the original message.
  • Constructor Summary

    Constructors
    Constructor
    Description
    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
    Returns an identifier uniquely determining type of the object.

    Methods inherited from class dev.voroby.springframework.telegram.client.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:
  • 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