telegram api method · layer 191 · #ec210fbf

channels.getSponsoredMessages

not in the latest layer 229: last defined in layer 191

definition

channels.getSponsoredMessages#ec210fbf channel:InputChannel = messages.SponsoredMessages;

parameters

nametypedescription
channelInputChannel

returns

messages.SponsoredMessages

errors (4)

codeerrordescription
400CHANNEL_INVALIDThe provided channel is invalid.
400CHANNEL_PRIVATEYou haven't joined this channel/supergroup.
400CHAT_NOT_MODIFIEDNo changes were made to chat information because the new information you passed is identical to the current information.
400MSG_ID_INVALIDInvalid message ID provided.

history

present in layers 132–191

idlayers
#ec210fbf132–191