forwardChatItems abstract method
- ChatId from,
- ChatId to,
- List<
ChatItemQuoteInput> items, { - ChatMessageText? text,
- List<
AttachmentId> ? attachments,
Forwards ChatItems to the specified Chat by the authenticated MyUser.
Supported ChatItems are ChatMessage and ChatForward.
If text or attachments argument is specified, then the forwarded
ChatItems will be followed with a posted ChatMessage containing that
text and/or attachments.
Implementation
Future<void> forwardChatItems(
ChatId from,
ChatId to,
List<ChatItemQuoteInput> items, {
ChatMessageText? text,
List<AttachmentId>? attachments,
});