GetChatSponsoredMessage constructor

const GetChatSponsoredMessage({
  1. required int chatId,
})

Returns sponsored message to be shown in a chat; for channel chats only. Returns a 404 error if there is no sponsored message in the chat

Implementation

const GetChatSponsoredMessage({
  required this.chatId,
});