// Removes session information for a specified bot, alias, and user ID.
Removes session information for a specified bot, alias, and user ID.
// Removes session information for a specified bot alias and user ID .
func (c *Client) DeleteSession(ctx context.Context, params *DeleteSessionInput, optFns ...func(*Options)) (*DeleteSessionOutput, error) {
	if params == nil {
		params = &DeleteSessionInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "DeleteSession", params, optFns, addOperationDeleteSessionMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*DeleteSessionOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) DeleteSession ( ctx context . Context , params * DeleteSessionInput , optFns ... func ( * Options ) ) ( * DeleteSessionOutput , error ) { if params == nil { params = & DeleteSessionInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationDeleteSessionMiddlewares ) if err != nil { return nil , err } out := result . ( * DeleteSessionOutput ) out . ResultMetadata = metadata return out , nil }
Removes session information for a specified bot, alias, and user ID.
Removes session information for a specified bot alias and user ID .