Class TdApi.SearchBackground

Enclosing class:
TdApi

public static class TdApi.SearchBackground extends TdApi.Function<TdApi.Background>
Searches for a background by its name.

Returns Background

  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Identifier uniquely determining type of the object.
    The name of the background.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default constructor for a function, which searches for a background by its name.
    Creates a function, which searches for a background by its name.
  • 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.Function

    toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • name

      public String name
      The name of the background.
    • CONSTRUCTOR

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

    • SearchBackground

      public SearchBackground()
      Default constructor for a function, which searches for a background by its name.

      Returns Background

    • SearchBackground

      public SearchBackground(String name)
      Creates a function, which searches for a background by its name.

      Returns Background

      Parameters:
      name - The name of the background.
  • 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