forwardMessage method
Use this method to forward messages of any kind. Service messages can't be forwarded.
On success, the sent Message
is returned.
Implementation
Future<Message> forwardMessage(
ChatID chatId,
ChatID fromChatId,
int messageId, {
bool? disableNotification,
bool? protectContent,
}) {
return _client.apiCall(_token, 'forwardMessage', {
'chat_id': chatId,
'from_chat_id': fromChatId,
'message_id': messageId,
'disable_notification': disableNotification,
'protect_content': protectContent,
});
}