Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KVEntryIncreaseParams ¶
type Plan ¶
type Plan struct { ID string `mapstructure:"id"` SKUID string `mapstructure:"sku_id"` Default bool `mapstructure:"default"` Features PlanFeatures `mapstructure:"features"` Consumable bool `mapstructure:"consumable"` }
type PlanFeatures ¶
type PlanFeatures struct { MaxSavedMessages int `mapstructure:"max_saved_messages"` MaxActionsPerComponent int `mapstructure:"max_actions_per_component"` AdvancedActionTypes bool `mapstructure:"advanced_action_types"` AIAssistant bool `mapstructure:"ai_assistant"` CustomBot bool `mapstructure:"custom_bot"` MaxCustomCommands int `mapstructure:"max_custom_commands"` IsPremium bool `mapstructure:"is_premium"` MaxImageUploadSize int `mapstructure:"max_image_upload_size"` MaxScheduledMessages int `mapstructure:"max_scheduled_messages"` PeriodicScheduledMessages bool `mapstructure:"periodic_scheduled_messages"` MaxTemplateOps int `mapstructure:"max_template_ops"` MaxKVKeys int `mapstructure:"max_kv_keys"` }
func (*PlanFeatures) Merge ¶
func (f *PlanFeatures) Merge(b PlanFeatures)
Click to show internal directories.
Click to hide internal directories.