* Run a shell command
(options: Options<SessionShellData, ThrowOnError>)
| 665 | * Run a shell command |
| 666 | */ |
| 667 | public shell<ThrowOnError extends boolean = false>(options: Options<SessionShellData, ThrowOnError>) { |
| 668 | return (options.client ?? this._client).post<SessionShellResponses, SessionShellErrors, ThrowOnError>({ |
| 669 | url: "/session/{id}/shell", |
| 670 | ...options, |
| 671 | headers: { |
| 672 | "Content-Type": "application/json", |
| 673 | ...options.headers, |
| 674 | }, |
| 675 | }) |
| 676 | } |
| 677 | |
| 678 | /** |
| 679 | * Revert a message |