class AppPusher::App
 
  - AppPusher::App
 - Reference
 - Object
 
Defined in:
app_pusher/app.crConstant Summary
- 
        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
Instance Method Summary
- #app_start_time : Int64
 - 
        #client : BitShares::Client
        
          
获取 client 实例
 - #config : Config
 - #push_service : TelegramPushService
 - 
        #push_to_user(title : String, msg_or_msgarray : String | Array(String), target_chat_id : String | Array(String), format : TelegramPushService::TextFormat = :html)
        
          
=> TODO: 根据需求优化 如果大批量推送后续考虑并行化处理
 - 
        #run
        
          
启动
 - 
        #subscriber : ObjectSubscriber
        
          
对象订阅
 - #tick_n : UInt64
 - #try_push?(target_account_id, feature_key : String, &)
 - 
        #url_config : SURLConfig | Nil
        
          
获取 URL 配置信息
 
Constructor Detail
Instance Method Detail
        
        def push_to_user(title : String, msg_or_msgarray : String | Array(String), target_chat_id : String | Array(String), format : TelegramPushService::TextFormat = :html)
        #
      
      
        => TODO: 根据需求优化 如果大批量推送后续考虑并行化处理