Skip to main content

NoticeResult

Data Structure

INTLNoticeResult: Inherits from INTLBaseResult, and contains basic information.

Member VariablesTypeExplanation
SeqIDstringSequence number for the notice request
NoticeInfoListList<INTLNoticeInfo>List of notices, refer to INTLNoticeInfo struct

INTLNoticeInfo: Contains various notice information

Member VariablesTypeExplanation
NoticeIdintNotice ID
AppIdstringIdentifier for the notification in the sender's system, such as when received from Tencent Cloud, app_id corresponds to Tencent Cloud
AppNoticeIdStringIdentifier for the notification in the sender's system
StatusintNotice Status
1: Published
StartTimeintStart Time
EndTimeintEnd Time
UpdateTimeintUpdate Time
AreaListstringInformation about the notice belonging to the server zone, businesses decide whether to display it based on the player's current server zone
PictureListList<INTLNoticePicture>List of Pictures
ContentListList<INTLNoticeContent>Content list belonging to the current notice
ExtraDataStringExtended Fields

INTLNoticeContent: Notice Content Information

Member VariablesTypeExplanation
ContentIdintIdentifier for the content in Player Network SDK system
AppContentIdStringIdentifier for the content in the sender's system
TitleStringNotice Title
ContentStringNotice Content
LanguageStringNotice Language Type
UpdateTimeintNotice Update Time
ExtraDatastringExtended information belonging to the notice, configured in the console by the business, parsed independently for use
PictureListList<INTLNoticePicture>List of Pictures

INTLNoticePicture: Notice Picture

Member variableTypeExplanation
UrlstringPicture URL
HashstringPicture hash code
RedirectUrlStringPicture redirect URL
ExtraDataStringPicture additional information

ExtraData's extra_reserved

NameTypeRemark
AuthorstringNews > Basic Information > Author [News Example]
CategoryStringNotice > Noticeboard Notice > Basic Information > Notice Category [Noticeboard Example]
CreateTypeintNotice Type
1: Pre-login Notice
2: Post-login Notice
3: Noticeboard Notice
4: Custom Notice
[Pre-login Example] [Post-login Example] [Noticeboard Example]
IsOpenServiceintNotice > Pre-login Notice > Basic Information > Pre-service Opening > Yes (1)/No (0) [Pre-login Example]
IsTopingboolNews > Basic Information > Pinned > Yes (true)/No (false) [News Example]
KeywordstringNews > Basic Information > Keyword [News Example]
SortintNotice > Post-login Notice / Noticeboard Notice > Order [Post-login Example] [Noticeboard Example]
TopEndStringNews > Basic Information > Pin End Time [News Example]
TopStartstringNews > Basic Information > Pin Start Time [News Example]
DefaultLanguageStringSet as Default Language
ExtraData:
{
"extra_reserved":"{\"Author\":\"\",\"Category\":\"\",\"CreateType\":\"4\",\"IsOpenService\":\"0\",\"IsToping\":false,\"Keyword\":\"\",\"Sort\":\"\",\"TopEnd\":\"2000-01-01 00:00:01\",\"TopStart\":\"2000-01-01 00:00:01\"}"
}
News Example

Image: News Example

Pre-login Notice Example

Image: Before Login Example

Post-login Notice Example

Image: After Login Example

Noticeboard Notice Example

Image: Notice Board Example