Layer 220
PaymentsGetConnectedStarRefBot
Fetch info about a specific bot affiliation
method
Users
payments.getConnectedStarRefBot#b7d998f0 peer:InputPeer bot:InputUser = payments.ConnectedStarRefBots;
Parameters
Returns
payments.ConnectedStarRefBotsPossible Errors
| Code | Type | Description |
|---|---|---|
| 400 | PEER_ID_INVALID | The provided peer id is invalid. |
Gogram Example
// PaymentsGetConnectedStarRefBot - positional arguments result, err := client.PaymentsGetConnectedStarRefBot(&tg.InputPeerUser{UserID: int64(123456789)}, &tg.InputUserSelf{}) if err != nil { // handle error } // result is *tg.PaymentsConnectedStarRefBots