[size=large]功能:[/size]
[list]
[*]支持NotifyMsg和LinkMsg两种类型的消息推送
[*]支持离线消息推送
[/list]
[size=large]示例:[/size]
[size=large]github项目地址:[/size]
[url=https://github.com/ax003d/pygetui]https://github.com/ax003d/pygetui[/url]
[list]
[*]支持NotifyMsg和LinkMsg两种类型的消息推送
[*]支持离线消息推送
[/list]
[size=large]示例:[/size]
from pygetui import *
gx = GXPushClient(appid='your appid',
appkey='your appkey',
mastersecret='your mastersecret')
test_client = 'xxx'
gx.push_notification('link title', 'link message',
PUSH_TYPE_LINK, [test_client],
link='http://www.baidu.com')
gx.push_notification('notify title', 'notify message',
PUSH_TYPE_NOTIFY, [test_client])
[size=large]github项目地址:[/size]
[url=https://github.com/ax003d/pygetui]https://github.com/ax003d/pygetui[/url]