MessageId::fromArray($message), self::executeCurl(self::buildPost($bot, Methods::COPY_MESSAGES->value, $parameters)) ); } /** * @inheritDoc */ public static function getRequiredParameters(): ?array { return [ 'chat_id', 'from_chat_id', 'message_ids' ]; } /** * @inheritDoc */ public static function getOptionalParameters(): ?array { return [ 'message_thread_id', 'disable_notification', 'protect_content', 'remove_caption' ]; } }