ResumeSession resumes an existing conversation session by its ID. This is a convenience method that calls [Client.ResumeSessionWithOptions]. Example: session, err := client.ResumeSession(context.Background(), "session-123", &copilot.ResumeSessionConfig{ OnPermissionRequest: copilot.Permissio
(ctx context.Context, sessionID string, config *ResumeSessionConfig)
| 974 | // OnPermissionRequest: copilot.PermissionHandler.ApproveAll, |
| 975 | // }) |
| 976 | func (c *Client) ResumeSession(ctx context.Context, sessionID string, config *ResumeSessionConfig) (*Session, error) { |
| 977 | return c.ResumeSessionWithOptions(ctx, sessionID, config) |
| 978 | } |
| 979 | |
| 980 | // ResumeSessionWithOptions resumes an existing conversation session with additional configuration. |
| 981 | // |