Raw.payments.ConnectStarRefBot

Raw.payments.ConnectStarRefBot

Join a bot’s affiliate program, becoming an affiliate

payments.connectStarRefBot#7ed5348a peer:InputPeer bot:InputUser = payments.ConnectedStarRefBots;
export namespace Raw {
  export namespace payments {
    export class ConnectStarRefBot {
      constructor(params: { peer: Raw.TypeInputPeer; bot: Raw.TypeInputUser }) {}
    }
  }
}

This is a function constructor, you can use it as method when call invoke

Layer: 198
Constructor ID: 0x7ed5348a

Property

  • peer : Raw.TypeInputPeer

    The peer that will become the affiliate: star commissions will be transferred to this peer’s star balance.

  • bot : Raw.TypeInputUser

    The bot that offers the affiliate program

Results

Raw.payments.TypeConnectedStarRefBots