Skip to content

bots.setBotGroupDefaultAdminRights

Layer 225

Constructor ID: 0x925ec9ea
Returns: Bool

Parameters

NameTypeDescription
admin_rightsChatAdminRights

Example

go
result, err := client.Raw(&tg.SetBotGroupDefaultAdminRightsRequest{
    admin_rights: nil, // ChatAdminRights
})
if err != nil {
    panic(err)
}
print(result)

Released under the Apache-2.0 License.