haskell-tdlib-2.0.47.0
Safe HaskellSafe-Inferred
LanguageGHC2021

TD.Query.SetSupergroupUsername

Synopsis

Documentation

data SetSupergroupUsername Source #

Changes the editable username of a supergroup or channel, requires owner privileges in the supergroup or channel. Returns Ok

Constructors

SetSupergroupUsername 

Fields

  • supergroup_id :: Maybe Int

    Identifier of the supergroup or channel

  • username :: Maybe Text

    New value of the username. Use an empty string to remove the username. The username can't be completely removed if there is another active or disabled username