SetMyDefaultAdministratorRightsReq

telegramium.bots.client.SetMyDefaultAdministratorRightsReq
final case class SetMyDefaultAdministratorRightsReq(rights: Option[ChatAdministratorRights], forChannels: Option[Boolean])

Value parameters

forChannels

Pass True to change the default administrator rights of the bot in channels. Otherwise, the default administrator rights of the bot for groups and supergroups will be changed.

rights

A JSON-serialized object describing new default administrator rights. If not specified, the default administrator rights will be cleared.

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product