IMSDK
IM features a comprehensive suite of solutions including global access, one-to-one chat, group chat, message push, profile and relationship chain hosting, and account authentication. It also provides complete app access and backend management APIs.
V2TIMOfflinePushConfig

Public Member Functions

 V2TIMOfflinePushConfig ()
 
 V2TIMOfflinePushConfig (const V2TIMOfflinePushConfig &)
 
 ~V2TIMOfflinePushConfig ()
 

Data Fields

V2TIMBuffer token
 
uint32_t businessID
 
V2TIMOfflinePushTokenType token_type
 

Constructor & Destructor Documentation

◆ V2TIMOfflinePushConfig() [1/2]

◆ V2TIMOfflinePushConfig() [2/2]

◆ ~V2TIMOfflinePushConfig()

Field Documentation

◆ token

V2TIMBuffer token

The token obtained when registering the application to the vendors.

◆ businessID

uint32_t businessID

IM console certificate ID.

◆ token_type

Type type of device token,Default is V2TIM_OFFLINE_PUSH_TOKEN_TYPE_DEFAULT

Attention
V2TIM_OFFLINE_PUSH_TOKEN_TYPE_TPNS field has been deprecated
  • If you have built offline push by TPNS and have setup configuration on the TPNS console, you can continue to use TPNS with setting this field to true.
  • If you have not built offline push by TPNS and have not setup configuration on the TPNS console,please not to use TPNS again. This feature has not been supported any more. https://cloud.tencent.com/document/product/269/74284