Class TdApi.BlockUser

  • Enclosing class:
    TdApi

    public static class TdApi.BlockUser
    extends TdApi.Function
    Adds a user to the blacklist.

    Returns Ok

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      int userId
      User identifier.
    • Constructor Summary

      Constructors 
      Constructor Description
      BlockUser()
      Default constructor.
      BlockUser​(int userId)
      Constructor for initialization of all fields.
    • Field Detail

      • userId

        public int userId
        User identifier.
      • CONSTRUCTOR

        public static final int CONSTRUCTOR
        Identifier uniquely determining type of the object.
        See Also:
        Constant Field Values
    • Constructor Detail

      • BlockUser

        public BlockUser()
        Default constructor.
      • BlockUser

        public BlockUser​(int userId)
        Constructor for initialization of all fields.
        Parameters:
        userId - User identifier.