channels.getSponsoredMessages

Get a list of sponsored messages

 메서드 스키마는 레이어 192부터 사용할 수 있습니다. 전환 »

Parameters

Name Type Description
channel InputChannel Peer

Result

messages.SponsoredMessages

Possible errors

Code Type Description
400 CHANNEL_INVALID The provided channel is invalid.
400 CHANNEL_PRIVATE You haven't joined this channel/supergroup.
400 MSG_ID_INVALID Invalid message ID provided.