Versions in this module Expand all Collapse all v0 v0.1.0 Jul 6, 2025 Changes in this version + type AudioInferenceRequest struct + AIID string + MessageID string + type ChatMessage struct + Audio string + ID string + Message string + Sender string + Timestamp int64 + func (cm *ChatMessage) GetTime() time.Time + type KindroidAI struct + APIKey string + BaseURL string + Client *http.Client + JWTAuth bool + KindroidID string + UserID string + func NewKindroidAI(apiKey, kindroidID string) *KindroidAI + func (k *KindroidAI) AudioInference(messageID string) ([]byte, error) + func (k *KindroidAI) ChatBreak(greeting string) error + func (k *KindroidAI) CheckUserSubscription() (*SubscriptionInfo, error) + func (k *KindroidAI) GetChatHistory(ctx context.Context, aiID string, limit int) ([]*ChatMessage, error) + func (k *KindroidAI) GetMessageById(ctx context.Context, aiID string, messageID string) (*ChatMessage, error) + func (k *KindroidAI) SendMessage(message string) (string, error) + func (k *KindroidAI) SendMessageAdvanced(options SendMessageOptions) (string, error) + func (k *KindroidAI) SetupUserAndPermissions() error + type SendMessageOptions struct + AIID string + ImageDescription *string + ImageURLs []string + InternetResponse *string + LinkDescription *string + LinkURL *string + Message string + Stream bool + VideoDescription *string + VideoURL *string + type SubscriptionInfo struct + GracePeriodAddon1 *int + GracePeriodAddon2 *int + GracePeriodBase *int + IsSubscribedAddon1 bool + IsSubscribedAddon2 bool + IsSubscribedBase bool + Status string + SubscriptionPlatformAddon1 *string + SubscriptionPlatformAddon2 *string + SubscriptionPlatformBase string + UID string