Skip to content

bots.updateStarRefProgram

Layer 225

Constructor ID: 0x778b5ab3
Returns: StarRefProgram

Parameters

NameTypeDescription
botInputUser
commission_permilleint32
duration_monthsint32 (flags.0, optional)

Example

go
result, err := client.Raw(&tg.UpdateStarRefProgramRequest{
    bot: nil, // InputUser
    commission_permille: 0,
    duration_months: 0,
})
if err != nil {
    panic(err)
}
print(result)

Released under the Apache-2.0 License.