Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Author string `split_words:"true"` Debug bool `split_words:"true"` DBDsn string `split_words:"true"` TelegramBotToken string `split_words:"true"` OpenaiAPIKey string `split_words:"true"` OpenaiAssistantID string `split_words:"true"` // payment FreeMessagesCount int32 `split_words:"true"` // how many messages user can send for free PaymentToken string `split_words:"true"` // token for payment service PricePerMsgPack int64 `split_words:"true"` // price for one message pack PriceCurrency string `split_words:"true"` // currency for price PaymentDescription string `split_words:"true"` // what to print in invoice MsgPack int32 `split_words:"true"` // how many messages in one pack }
Click to show internal directories.
Click to hide internal directories.