Class TdApi.GetBackgroundUrl

Enclosing class:
TdApi

public static class TdApi.GetBackgroundUrl extends TdApi.Function<TdApi.HttpUrl>
Constructs a persistent HTTP URL for a background.

Returns HttpUrl

  • Field Details

    • name

      public String name
      Background name.
    • type

      public TdApi.BackgroundType type
      Background type; backgroundTypeChatTheme isn't supported.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      See Also:
  • Constructor Details

    • GetBackgroundUrl

      public GetBackgroundUrl()
      Default constructor for a function, which constructs a persistent HTTP URL for a background.

      Returns HttpUrl

    • GetBackgroundUrl

      public GetBackgroundUrl(String name, TdApi.BackgroundType type)
      Creates a function, which constructs a persistent HTTP URL for a background.

      Returns HttpUrl

      Parameters:
      name - Background name.
      type - Background type; backgroundTypeChatTheme isn't supported.
  • 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