telegram api method · layer 90 · #a72ded52
channels.updatePinnedMessage
not in the latest layer 229: last defined in layer 90
definition
channels.updatePinnedMessage#a72ded52 flags:# silent:flags.0?true channel:InputChannel id:int = Updates;
parameters
| name | type | description |
|---|---|---|
flags | # | |
silent | true | |
channel | InputChannel | |
id | int |
returns
errors (4)
| code | error | description |
|---|---|---|
| 400 | CHANNEL_INVALID | The provided channel is invalid. |
| 400 | CHAT_ADMIN_REQUIRED | You must be an admin in this chat to do this. |
| 400 | CHAT_ID_INVALID | The provided chat id is invalid. |
| 400 | CHAT_NOT_MODIFIED | No changes were made to chat information because the new information you passed is identical to the current information. |
history
present in layers 62–90
| id | layers |
|---|---|
| #a72ded52 | 62–90 |