Summary
Forwards messages by their IDs.
Syntax
Task<IUpdates> ForwardMessagesAsync(IInputPeer fromPeer, IInputPeer toPeer, IReadOnlyList<int> ids, bool silent, bool withMyScore, CancellationToken cancellationToken = default(CancellationToken))
Parameters
Name |
Type |
Description |
fromPeer |
IInputPeer |
User or chat from where a message will be forwarded |
toPeer |
IInputPeer |
User or chat where a message will be forwarded |
ids |
IReadOnlyList<int> |
Forwarded message IDs |
silent |
bool |
|
withMyScore |
bool |
|
cancellationToken |
CancellationToken |
Cancellation token |
Return Value
Type |
Description |
Task<IUpdates> |
Returns a IUpdates object containing a service message sent during an action. |