mirror of
https://github.com/sipeed/picoclaw.git
synced 2026-06-12 18:08:54 +00:00
style(line): shorten long line for golines linter
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -583,10 +583,11 @@ func classifySDKError(resp *http.Response, err error) error {
|
||||
|
||||
// sendLoading sends a loading animation indicator to the chat.
|
||||
func (c *LINEChannel) sendLoading(ctx context.Context, chatID string) error {
|
||||
resp, _, err := c.client.WithContext(ctx).ShowLoadingAnimationWithHttpInfo(&messaging_api.ShowLoadingAnimationRequest{
|
||||
req := &messaging_api.ShowLoadingAnimationRequest{
|
||||
ChatId: chatID,
|
||||
LoadingSeconds: 60,
|
||||
})
|
||||
}
|
||||
resp, _, err := c.client.WithContext(ctx).ShowLoadingAnimationWithHttpInfo(req)
|
||||
return classifySDKError(resp, err)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user