Module tdlight.api

Class TdApi.AddApplicationChangelog

Enclosing class:
TdApi

public static final class TdApi.AddApplicationChangelog extends TdApi.Function<TdApi.Ok>
Adds server-provided application changelog as messages to the chat 777000 (Telegram); for official applications only. Returns a 404 error if nothing changed. Returns Ok
  • Field Details

    • previousApplicationVersion

      public String previousApplicationVersion
      The previous application version.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
  • Constructor Details

    • AddApplicationChangelog

      public AddApplicationChangelog()
      Adds server-provided application changelog as messages to the chat 777000 (Telegram); for official applications only. Returns a 404 error if nothing changed. Returns Ok
    • AddApplicationChangelog

      public AddApplicationChangelog(String previousApplicationVersion)
      Adds server-provided application changelog as messages to the chat 777000 (Telegram); for official applications only. Returns a 404 error if nothing changed. Returns Ok
      Parameters:
      previousApplicationVersion - String The previous application version.
    • AddApplicationChangelog

      public AddApplicationChangelog(DataInput input) throws IOException
      Adds server-provided application changelog as messages to the chat 777000 (Telegram); for official applications only. Returns a 404 error if nothing changed. Returns Ok
      Throws:
      IOException
  • Method Details