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

nametypedescription
flags#
silentflags.0?true
channelInputChannel
idint

returns

Updates

errors (4)

codeerrordescription
400CHANNEL_INVALIDThe provided channel is invalid.
400CHAT_ADMIN_REQUIREDYou must be an admin in this chat to do this.
400CHAT_ID_INVALIDThe provided chat id is invalid.
400CHAT_NOT_MODIFIEDNo changes were made to chat information because the new information you passed is identical to the current information.

history

present in layers 62–90

idlayers
#a72ded5262–90