{"total":4,"results":[{"code":400,"name":"CHAT_INVALID","methods":["channels.editPhoto","channels.editTitle","channels.inviteToChannel","channels.joinChannel","channels.leaveChannel","messages.addChatUser","messages.createChat","messages.importChatInvite","messages.updatePinnedMessage"],"description":"Invalid chat."},{"code":400,"name":"EFFECT_CHAT_INVALID","methods":["messages.sendMedia","messages.sendMessage"],"description":"Message [effects](https://core.telegram.org/api/effects) can only be used in private 1-on-1 chats, but the caller tried to send a message with an effect to a group or channel."},{"code":400,"name":"PRICING_CHAT_INVALID","methods":["messages.exportChatInvite"],"description":"The pricing for the [subscription](https://core.telegram.org/api/subscriptions) is invalid, the maximum price is specified in the [`stars_subscription_amount_max` config key &raquo;](https://core.telegram.org/api/config#stars-subscription-amount-max)."},{"code":500,"name":"CHAT_INVALID","methods":["channels.createChannel","messages.migrateChat"],"description":"Invalid chat."}],"layer":227}