AppPusher::App
Inherits Reference < Object
Constants
AppCatalog_AppSettings = "app.settings"
AppKey_AppSettingsCommonVerLatest = "common.settings.ver.latest"
AppStorageCatalog_SocialMediaVerified = "#{AppStorageCatalog_SocialMediaVerifiedPrefix}.%s"
AppStorageCatalog_SocialMediaVerifiedPrefix = "bcdss.socialmedia.verified.v1"
CreditDealRepayReminderInterval = {(3600_u32 * 24) * 3, 3600_u32 * 24, 3600_u32 * 12, 3600_u32 * 4, 3600_u32 * 1}
=> P2P抵押贷借款对象到期提醒间隔
Log = ::Log.for("app")
SpecSettingKey_Language = "@lang"
SpecSettingKey_Provider = "@provider"
UserStorageCatalog_ReminderSettings = "bcdss.reminder.settings.v1"
UserStorageCatalog_SocialMedia = "bcdss.socialmedia.v1"
UserStorageKey_ReminderSettings = "app"
UserStorageKey_SocialMedia_telegram = "telegram"
Constructors
new(config : AppPusher::Config)
SourceInstance methods
app_start_time
Sourceconfig
Sourcepush_service
Sourcepush_to_user(title : String, msg_or_msgarray : String | Array(String), target_chat_id : String | Array(String), format : TelegramPushService::TextFormat = :html)
=> TODO: 根据需求优化 如果大批量推送后续考虑并行化处理
tick_n
Sourcetry_push?(target_account_id, feature_key : String, &)
Source