Skip to content

channels.restrictSponsoredMessages

Layer 225

Constructor ID: 0x9ae91519
Returns: Updates

Parameters

NameTypeDescription
channelInputChannel
restrictedbool

Example

go
result, err := client.Raw(&tg.RestrictSponsoredMessagesRequest{
    channel: nil, // InputChannel
    restricted: false,
})
if err != nil {
    panic(err)
}
print(result)

Released under the Apache-2.0 License.