Skip to content

payments.botCancelStarsSubscription

Layer 225

Constructor ID: 0x6dfa0622
Returns: Bool

Parameters

NameTypeDescription
restorebool (flags.0, optional)
user_idInputUser
charge_idstring

Example

go
result, err := client.Raw(&tg.BotCancelStarsSubscriptionRequest{
    restore: false,
    user_id: nil, // InputUser
    charge_id: "",
})
if err != nil {
    panic(err)
}
print(result)

Released under the Apache-2.0 License.