telegram api method · layer 229 · #5869a553
payments.getConnectedStarRefBots
Fetch all affiliations we have created for a certain peer
definition
payments.getConnectedStarRefBots#5869a553 flags:# peer:InputPeer offset_date:flags.2?int offset_link:flags.2?string limit:int = payments.ConnectedStarRefBots;
parameters
| name | type | description |
|---|---|---|
flags | # | Flags, see TL conditional fields |
peer | InputPeer | The affiliated peer |
offset_date | int | If set, returns only results older than the specified unixtime |
offset_link | string | Offset for pagination, taken from the last returned connectedBotStarRef.url (initially empty) |
limit | int | Maximum number of results to return, see pagination |
returns
errors (2)
| code | error | description |
|---|---|---|
| 400 | BUSINESS_CONNECTION_NOT_ALLOWED | This method was invoked over a business connection using invokeWithBusinessConnection, but either (1) we're a user, and users cannot invoke methods over a business connection; (2) we're a bot, but business mode was disabled in @botfather or (3); we're a bot, but this method cannot be invoked over a business connection. |
| 401 | AUTH_KEY_UNREGISTERED | The specified authorization key is not registered in the system (for example, a PFS temporary key has expired). |
history
present in layers 195–229
| id | layers |
|---|---|
| #5869a553 | 195–229 |