Class TdApi.UnpinSupergroupMessage

  • Enclosing class:
    TdApi

    public static class TdApi.UnpinSupergroupMessage
    extends TdApi.Function
    Removes the pinned message from a supergroup or channel; requires appropriate administrator rights in the supergroup or channel.

    Returns Ok

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      int supergroupId
      Identifier of the supergroup or channel.
    • Field Detail

      • supergroupId

        public int supergroupId
        Identifier of the supergroup or channel.
      • CONSTRUCTOR

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

      • UnpinSupergroupMessage

        public UnpinSupergroupMessage()
        Default constructor.
      • UnpinSupergroupMessage

        public UnpinSupergroupMessage​(int supergroupId)
        Constructor for initialization of all fields.
        Parameters:
        supergroupId - Identifier of the supergroup or channel.