Class TdApi.GetMessageEmbeddingCode

java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Function
it.tdlight.jni.TdApi.GetMessageEmbeddingCode
Enclosing class:
TdApi

public static class TdApi.GetMessageEmbeddingCode
extends TdApi.Function
Returns an HTML code for embedding the message. Available only for messages in supergroups and channels with a username.

Returns Text

  • Field Details

    • chatId

      public long chatId
      Identifier of the chat to which the message belongs.
    • messageId

      public long messageId
      Identifier of the message.
    • forAlbum

      public boolean forAlbum
      Pass true to return an HTML code for embedding of the whole media album.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
      Constant Field Values
  • Constructor Details

    • GetMessageEmbeddingCode

      public GetMessageEmbeddingCode()
      Returns an HTML code for embedding the message. Available only for messages in supergroups and channels with a username.

      Returns Text

    • GetMessageEmbeddingCode

      public GetMessageEmbeddingCode​(long chatId, long messageId, boolean forAlbum)
      Returns an HTML code for embedding the message. Available only for messages in supergroups and channels with a username.

      Returns Text

      Parameters:
      chatId - long Identifier of the chat to which the message belongs.
      messageId - long Identifier of the message.
      forAlbum - boolean Pass true to return an HTML code for embedding of the whole media album.
    • GetMessageEmbeddingCode

      public GetMessageEmbeddingCode​(DataInput input) throws IOException
      Throws:
      IOException
  • Method Details