Raw.payments.EditConnectedStarRefBot
Leave a bot’s affiliate program
payments.editConnectedStarRefBot#e4fca4a3 flags:# revoked:flags.0?true peer:InputPeer link:string = payments.ConnectedStarRefBots;
export namespace Raw {
export namespace payments {
export class EditConnectedStarRefBot {
constructor(params: { revoked?: boolean; peer: Raw.TypeInputPeer; link: string }) {}
}
}
}
This is a function constructor, you can use it as method when call invoke
Layer: 198
Constructor ID: 0xe4fca4a3
Property
revoked
: boolean or undefinedIf set, leaves the bot’s affiliate program
peer
: Raw.TypeInputPeerThe peer that was affiliated
link
: stringThe affiliate link to revoke