repost

open fun repost(@NonNull event: Event): Boolean

Repost a failed event.

Only event that was successfully posted with post and then failed during processing (e.g. a message failed to be delivered) can be reposted. That event should have filled all information necessary for posting, no account or stream matching is performed.

Currently, only MessageEvent can be reposted.

Return

true if reposted or false if not.

Parameters

event

Event to repost.