Documentation ¶
Index ¶
- type AliasInfo
- type AliasInfos
- type AppDeviceStat
- type AppDeviceStatsInQueryDeviceStat
- type AppDeviceStatsInQueryUniqueDeviceStat
- type AppPushStat
- type AppPushStats
- type BindAliasRequest
- type BindAliasResponse
- type BindPhoneRequest
- type BindPhoneResponse
- type BindTagRequest
- type BindTagResponse
- type CancelPushRequest
- type CancelPushResponse
- type CheckDeviceRequest
- type CheckDeviceResponse
- type CheckDevicesRequest
- type CheckDevicesResponse
- type Client
- func NewClient() (client *Client, err error)
- func NewClientWithAccessKey(regionId, accessKeyId, accessKeySecret string) (client *Client, err error)
- func NewClientWithEcsRamRole(regionId string, roleName string) (client *Client, err error)
- func NewClientWithOptions(regionId string, config *sdk.Config, credential auth.Credential) (client *Client, err error)
- func NewClientWithRamRoleArn(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName string) (client *Client, err error)
- func NewClientWithRsaKeyPair(regionId string, publicKeyId, privateKey string, sessionExpiration int) (client *Client, err error)
- func NewClientWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken string) (client *Client, err error)
- func (client *Client) BindAlias(request *BindAliasRequest) (response *BindAliasResponse, err error)
- func (client *Client) BindAliasWithCallback(request *BindAliasRequest, ...) <-chan int
- func (client *Client) BindAliasWithChan(request *BindAliasRequest) (<-chan *BindAliasResponse, <-chan error)
- func (client *Client) BindPhone(request *BindPhoneRequest) (response *BindPhoneResponse, err error)
- func (client *Client) BindPhoneWithCallback(request *BindPhoneRequest, ...) <-chan int
- func (client *Client) BindPhoneWithChan(request *BindPhoneRequest) (<-chan *BindPhoneResponse, <-chan error)
- func (client *Client) BindTag(request *BindTagRequest) (response *BindTagResponse, err error)
- func (client *Client) BindTagWithCallback(request *BindTagRequest, callback func(response *BindTagResponse, err error)) <-chan int
- func (client *Client) BindTagWithChan(request *BindTagRequest) (<-chan *BindTagResponse, <-chan error)
- func (client *Client) CancelPush(request *CancelPushRequest) (response *CancelPushResponse, err error)
- func (client *Client) CancelPushWithCallback(request *CancelPushRequest, ...) <-chan int
- func (client *Client) CancelPushWithChan(request *CancelPushRequest) (<-chan *CancelPushResponse, <-chan error)
- func (client *Client) CheckDevice(request *CheckDeviceRequest) (response *CheckDeviceResponse, err error)
- func (client *Client) CheckDeviceWithCallback(request *CheckDeviceRequest, ...) <-chan int
- func (client *Client) CheckDeviceWithChan(request *CheckDeviceRequest) (<-chan *CheckDeviceResponse, <-chan error)
- func (client *Client) CheckDevices(request *CheckDevicesRequest) (response *CheckDevicesResponse, err error)
- func (client *Client) CheckDevicesWithCallback(request *CheckDevicesRequest, ...) <-chan int
- func (client *Client) CheckDevicesWithChan(request *CheckDevicesRequest) (<-chan *CheckDevicesResponse, <-chan error)
- func (client *Client) ListPushRecords(request *ListPushRecordsRequest) (response *ListPushRecordsResponse, err error)
- func (client *Client) ListPushRecordsWithCallback(request *ListPushRecordsRequest, ...) <-chan int
- func (client *Client) ListPushRecordsWithChan(request *ListPushRecordsRequest) (<-chan *ListPushRecordsResponse, <-chan error)
- func (client *Client) ListSummaryApps(request *ListSummaryAppsRequest) (response *ListSummaryAppsResponse, err error)
- func (client *Client) ListSummaryAppsWithCallback(request *ListSummaryAppsRequest, ...) <-chan int
- func (client *Client) ListSummaryAppsWithChan(request *ListSummaryAppsRequest) (<-chan *ListSummaryAppsResponse, <-chan error)
- func (client *Client) ListTags(request *ListTagsRequest) (response *ListTagsResponse, err error)
- func (client *Client) ListTagsWithCallback(request *ListTagsRequest, callback func(response *ListTagsResponse, err error)) <-chan int
- func (client *Client) ListTagsWithChan(request *ListTagsRequest) (<-chan *ListTagsResponse, <-chan error)
- func (client *Client) Push(request *PushRequest) (response *PushResponse, err error)
- func (client *Client) PushMessageToiOS(request *PushMessageToiOSRequest) (response *PushMessageToiOSResponse, err error)
- func (client *Client) PushMessageToiOSWithCallback(request *PushMessageToiOSRequest, ...) <-chan int
- func (client *Client) PushMessageToiOSWithChan(request *PushMessageToiOSRequest) (<-chan *PushMessageToiOSResponse, <-chan error)
- func (client *Client) PushNoticeToiOS(request *PushNoticeToiOSRequest) (response *PushNoticeToiOSResponse, err error)
- func (client *Client) PushNoticeToiOSWithCallback(request *PushNoticeToiOSRequest, ...) <-chan int
- func (client *Client) PushNoticeToiOSWithChan(request *PushNoticeToiOSRequest) (<-chan *PushNoticeToiOSResponse, <-chan error)
- func (client *Client) PushWithCallback(request *PushRequest, callback func(response *PushResponse, err error)) <-chan int
- func (client *Client) PushWithChan(request *PushRequest) (<-chan *PushResponse, <-chan error)
- func (client *Client) QueryAliases(request *QueryAliasesRequest) (response *QueryAliasesResponse, err error)
- func (client *Client) QueryAliasesWithCallback(request *QueryAliasesRequest, ...) <-chan int
- func (client *Client) QueryAliasesWithChan(request *QueryAliasesRequest) (<-chan *QueryAliasesResponse, <-chan error)
- func (client *Client) QueryDeviceInfo(request *QueryDeviceInfoRequest) (response *QueryDeviceInfoResponse, err error)
- func (client *Client) QueryDeviceInfoWithCallback(request *QueryDeviceInfoRequest, ...) <-chan int
- func (client *Client) QueryDeviceInfoWithChan(request *QueryDeviceInfoRequest) (<-chan *QueryDeviceInfoResponse, <-chan error)
- func (client *Client) QueryDeviceStat(request *QueryDeviceStatRequest) (response *QueryDeviceStatResponse, err error)
- func (client *Client) QueryDeviceStatWithCallback(request *QueryDeviceStatRequest, ...) <-chan int
- func (client *Client) QueryDeviceStatWithChan(request *QueryDeviceStatRequest) (<-chan *QueryDeviceStatResponse, <-chan error)
- func (client *Client) QueryDevicesByAccount(request *QueryDevicesByAccountRequest) (response *QueryDevicesByAccountResponse, err error)
- func (client *Client) QueryDevicesByAccountWithCallback(request *QueryDevicesByAccountRequest, ...) <-chan int
- func (client *Client) QueryDevicesByAccountWithChan(request *QueryDevicesByAccountRequest) (<-chan *QueryDevicesByAccountResponse, <-chan error)
- func (client *Client) QueryDevicesByAlias(request *QueryDevicesByAliasRequest) (response *QueryDevicesByAliasResponse, err error)
- func (client *Client) QueryDevicesByAliasWithCallback(request *QueryDevicesByAliasRequest, ...) <-chan int
- func (client *Client) QueryDevicesByAliasWithChan(request *QueryDevicesByAliasRequest) (<-chan *QueryDevicesByAliasResponse, <-chan error)
- func (client *Client) QueryPushList(request *QueryPushListRequest) (response *QueryPushListResponse, err error)
- func (client *Client) QueryPushListWithCallback(request *QueryPushListRequest, ...) <-chan int
- func (client *Client) QueryPushListWithChan(request *QueryPushListRequest) (<-chan *QueryPushListResponse, <-chan error)
- func (client *Client) QueryPushStatByApp(request *QueryPushStatByAppRequest) (response *QueryPushStatByAppResponse, err error)
- func (client *Client) QueryPushStatByAppWithCallback(request *QueryPushStatByAppRequest, ...) <-chan int
- func (client *Client) QueryPushStatByAppWithChan(request *QueryPushStatByAppRequest) (<-chan *QueryPushStatByAppResponse, <-chan error)
- func (client *Client) QueryPushStatByMsg(request *QueryPushStatByMsgRequest) (response *QueryPushStatByMsgResponse, err error)
- func (client *Client) QueryPushStatByMsgWithCallback(request *QueryPushStatByMsgRequest, ...) <-chan int
- func (client *Client) QueryPushStatByMsgWithChan(request *QueryPushStatByMsgRequest) (<-chan *QueryPushStatByMsgResponse, <-chan error)
- func (client *Client) QueryTags(request *QueryTagsRequest) (response *QueryTagsResponse, err error)
- func (client *Client) QueryTagsWithCallback(request *QueryTagsRequest, ...) <-chan int
- func (client *Client) QueryTagsWithChan(request *QueryTagsRequest) (<-chan *QueryTagsResponse, <-chan error)
- func (client *Client) QueryUniqueDeviceStat(request *QueryUniqueDeviceStatRequest) (response *QueryUniqueDeviceStatResponse, err error)
- func (client *Client) QueryUniqueDeviceStatWithCallback(request *QueryUniqueDeviceStatRequest, ...) <-chan int
- func (client *Client) QueryUniqueDeviceStatWithChan(request *QueryUniqueDeviceStatRequest) (<-chan *QueryUniqueDeviceStatResponse, <-chan error)
- func (client *Client) RemoveTag(request *RemoveTagRequest) (response *RemoveTagResponse, err error)
- func (client *Client) RemoveTagWithCallback(request *RemoveTagRequest, ...) <-chan int
- func (client *Client) RemoveTagWithChan(request *RemoveTagRequest) (<-chan *RemoveTagResponse, <-chan error)
- func (client *Client) UnbindAlias(request *UnbindAliasRequest) (response *UnbindAliasResponse, err error)
- func (client *Client) UnbindAliasWithCallback(request *UnbindAliasRequest, ...) <-chan int
- func (client *Client) UnbindAliasWithChan(request *UnbindAliasRequest) (<-chan *UnbindAliasResponse, <-chan error)
- func (client *Client) UnbindPhone(request *UnbindPhoneRequest) (response *UnbindPhoneResponse, err error)
- func (client *Client) UnbindPhoneWithCallback(request *UnbindPhoneRequest, ...) <-chan int
- func (client *Client) UnbindPhoneWithChan(request *UnbindPhoneRequest) (<-chan *UnbindPhoneResponse, <-chan error)
- func (client *Client) UnbindTag(request *UnbindTagRequest) (response *UnbindTagResponse, err error)
- func (client *Client) UnbindTagWithCallback(request *UnbindTagRequest, ...) <-chan int
- func (client *Client) UnbindTagWithChan(request *UnbindTagRequest) (<-chan *UnbindTagResponse, <-chan error)
- type DeviceCheckInfo
- type DeviceCheckInfos
- type DeviceIdsInQueryDevicesByAccount
- type DeviceIdsInQueryDevicesByAlias
- type DeviceInfo
- type ListPushRecordsRequest
- type ListPushRecordsResponse
- type ListSummaryAppsRequest
- type ListSummaryAppsResponse
- type ListTagsRequest
- type ListTagsResponse
- type PushMessageInfo
- type PushMessageInfosInListPushRecords
- type PushMessageInfosInQueryPushList
- type PushMessageToiOSRequest
- type PushMessageToiOSResponse
- type PushNoticeToiOSRequest
- type PushNoticeToiOSResponse
- type PushRequest
- type PushResponse
- type PushStat
- type PushStats
- type QueryAliasesRequest
- type QueryAliasesResponse
- type QueryDeviceInfoRequest
- type QueryDeviceInfoResponse
- type QueryDeviceStatRequest
- type QueryDeviceStatResponse
- type QueryDevicesByAccountRequest
- type QueryDevicesByAccountResponse
- type QueryDevicesByAliasRequest
- type QueryDevicesByAliasResponse
- type QueryPushListRequest
- type QueryPushListResponse
- type QueryPushStatByAppRequest
- type QueryPushStatByAppResponse
- type QueryPushStatByMsgRequest
- type QueryPushStatByMsgResponse
- type QueryTagsRequest
- type QueryTagsResponse
- type QueryUniqueDeviceStatRequest
- type QueryUniqueDeviceStatResponse
- type RemoveTagRequest
- type RemoveTagResponse
- type SummaryAppInfo
- type SummaryAppInfos
- type TagInfo
- type TagInfosInListTags
- type TagInfosInQueryTags
- type UnbindAliasRequest
- type UnbindAliasResponse
- type UnbindPhoneRequest
- type UnbindPhoneResponse
- type UnbindTagRequest
- type UnbindTagResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AliasInfo ¶
type AliasInfo struct {
AliasName string `json:"AliasName" xml:"AliasName"`
}
AliasInfo is a nested struct in push response
type AliasInfos ¶
type AliasInfos struct {
AliasInfo []AliasInfo `json:"AliasInfo" xml:"AliasInfo"`
}
AliasInfos is a nested struct in push response
type AppDeviceStat ¶
type AppDeviceStat struct { Time string `json:"Time" xml:"Time"` Count int `json:"Count" xml:"Count"` DeviceType string `json:"DeviceType" xml:"DeviceType"` }
AppDeviceStat is a nested struct in push response
type AppDeviceStatsInQueryDeviceStat ¶
type AppDeviceStatsInQueryDeviceStat struct {
AppDeviceStat []AppDeviceStat `json:"AppDeviceStat" xml:"AppDeviceStat"`
}
AppDeviceStatsInQueryDeviceStat is a nested struct in push response
type AppDeviceStatsInQueryUniqueDeviceStat ¶
type AppDeviceStatsInQueryUniqueDeviceStat struct {
AppDeviceStat []AppDeviceStat `json:"AppDeviceStat" xml:"AppDeviceStat"`
}
AppDeviceStatsInQueryUniqueDeviceStat is a nested struct in push response
type AppPushStat ¶
type AppPushStat struct { Time string `json:"Time" xml:"Time"` AcceptCount int `json:"AcceptCount" xml:"AcceptCount"` SentCount int `json:"SentCount" xml:"SentCount"` ReceivedCount int `json:"ReceivedCount" xml:"ReceivedCount"` OpenedCount int `json:"OpenedCount" xml:"OpenedCount"` DeletedCount int `json:"DeletedCount" xml:"DeletedCount"` SmsSentCount int `json:"SmsSentCount" xml:"SmsSentCount"` SmsSkipCount int `json:"SmsSkipCount" xml:"SmsSkipCount"` SmsFailedCount int `json:"SmsFailedCount" xml:"SmsFailedCount"` SmsReceiveSuccessCount int `json:"SmsReceiveSuccessCount" xml:"SmsReceiveSuccessCount"` SmsReceiveFailedCount int `json:"SmsReceiveFailedCount" xml:"SmsReceiveFailedCount"` }
AppPushStat is a nested struct in push response
type AppPushStats ¶
type AppPushStats struct {
AppPushStat []AppPushStat `json:"AppPushStat" xml:"AppPushStat"`
}
AppPushStats is a nested struct in push response
type BindAliasRequest ¶
type BindAliasRequest struct { *requests.RpcRequest AppKey requests.Integer `position:"Query" name:"AppKey"` DeviceId string `position:"Query" name:"DeviceId"` AliasName string `position:"Query" name:"AliasName"` }
BindAliasRequest is the request struct for api BindAlias
func CreateBindAliasRequest ¶
func CreateBindAliasRequest() (request *BindAliasRequest)
CreateBindAliasRequest creates a request to invoke BindAlias API
type BindAliasResponse ¶
type BindAliasResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
BindAliasResponse is the response struct for api BindAlias
func CreateBindAliasResponse ¶
func CreateBindAliasResponse() (response *BindAliasResponse)
CreateBindAliasResponse creates a response to parse from BindAlias response
type BindPhoneRequest ¶
type BindPhoneRequest struct { *requests.RpcRequest AppKey requests.Integer `position:"Query" name:"AppKey"` DeviceId string `position:"Query" name:"DeviceId"` PhoneNumber string `position:"Query" name:"PhoneNumber"` }
BindPhoneRequest is the request struct for api BindPhone
func CreateBindPhoneRequest ¶
func CreateBindPhoneRequest() (request *BindPhoneRequest)
CreateBindPhoneRequest creates a request to invoke BindPhone API
type BindPhoneResponse ¶
type BindPhoneResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
BindPhoneResponse is the response struct for api BindPhone
func CreateBindPhoneResponse ¶
func CreateBindPhoneResponse() (response *BindPhoneResponse)
CreateBindPhoneResponse creates a response to parse from BindPhone response
type BindTagRequest ¶
type BindTagRequest struct { *requests.RpcRequest AppKey requests.Integer `position:"Query" name:"AppKey"` ClientKey string `position:"Query" name:"ClientKey"` KeyType string `position:"Query" name:"KeyType"` TagName string `position:"Query" name:"TagName"` }
BindTagRequest is the request struct for api BindTag
func CreateBindTagRequest ¶
func CreateBindTagRequest() (request *BindTagRequest)
CreateBindTagRequest creates a request to invoke BindTag API
type BindTagResponse ¶
type BindTagResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
BindTagResponse is the response struct for api BindTag
func CreateBindTagResponse ¶
func CreateBindTagResponse() (response *BindTagResponse)
CreateBindTagResponse creates a response to parse from BindTag response
type CancelPushRequest ¶
type CancelPushRequest struct { *requests.RpcRequest AppKey requests.Integer `position:"Query" name:"AppKey"` MessageId requests.Integer `position:"Query" name:"MessageId"` }
CancelPushRequest is the request struct for api CancelPush
func CreateCancelPushRequest ¶
func CreateCancelPushRequest() (request *CancelPushRequest)
CreateCancelPushRequest creates a request to invoke CancelPush API
type CancelPushResponse ¶
type CancelPushResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
CancelPushResponse is the response struct for api CancelPush
func CreateCancelPushResponse ¶
func CreateCancelPushResponse() (response *CancelPushResponse)
CreateCancelPushResponse creates a response to parse from CancelPush response
type CheckDeviceRequest ¶
type CheckDeviceRequest struct { *requests.RpcRequest AppKey requests.Integer `position:"Query" name:"AppKey"` DeviceId string `position:"Query" name:"DeviceId"` }
CheckDeviceRequest is the request struct for api CheckDevice
func CreateCheckDeviceRequest ¶
func CreateCheckDeviceRequest() (request *CheckDeviceRequest)
CreateCheckDeviceRequest creates a request to invoke CheckDevice API
type CheckDeviceResponse ¶
type CheckDeviceResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Available bool `json:"Available" xml:"Available"` }
CheckDeviceResponse is the response struct for api CheckDevice
func CreateCheckDeviceResponse ¶
func CreateCheckDeviceResponse() (response *CheckDeviceResponse)
CreateCheckDeviceResponse creates a response to parse from CheckDevice response
type CheckDevicesRequest ¶
type CheckDevicesRequest struct { *requests.RpcRequest AppKey requests.Integer `position:"Query" name:"AppKey"` DeviceIds string `position:"Query" name:"DeviceIds"` }
CheckDevicesRequest is the request struct for api CheckDevices
func CreateCheckDevicesRequest ¶
func CreateCheckDevicesRequest() (request *CheckDevicesRequest)
CreateCheckDevicesRequest creates a request to invoke CheckDevices API
type CheckDevicesResponse ¶
type CheckDevicesResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` DeviceCheckInfos DeviceCheckInfos `json:"DeviceCheckInfos" xml:"DeviceCheckInfos"` }
CheckDevicesResponse is the response struct for api CheckDevices
func CreateCheckDevicesResponse ¶
func CreateCheckDevicesResponse() (response *CheckDevicesResponse)
CreateCheckDevicesResponse creates a response to parse from CheckDevices response
type Client ¶
Client is the sdk client struct, each func corresponds to an OpenAPI
func NewClientWithAccessKey ¶
func NewClientWithAccessKey(regionId, accessKeyId, accessKeySecret string) (client *Client, err error)
NewClientWithAccessKey is a shortcut to create sdk client with accesskey usage: https://help.aliyun.com/document_detail/66217.html
func NewClientWithEcsRamRole ¶
NewClientWithEcsRamRole is a shortcut to create sdk client with ecs ram role usage: https://help.aliyun.com/document_detail/66223.html
func NewClientWithOptions ¶
func NewClientWithOptions(regionId string, config *sdk.Config, credential auth.Credential) (client *Client, err error)
NewClientWithOptions creates a sdk client with regionId/sdkConfig/credential this is the common api to create a sdk client
func NewClientWithRamRoleArn ¶
func NewClientWithRamRoleArn(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName string) (client *Client, err error)
NewClientWithRamRoleArn is a shortcut to create sdk client with ram roleArn usage: https://help.aliyun.com/document_detail/66222.html
func NewClientWithRsaKeyPair ¶
func NewClientWithRsaKeyPair(regionId string, publicKeyId, privateKey string, sessionExpiration int) (client *Client, err error)
NewClientWithRsaKeyPair is a shortcut to create sdk client with rsa key pair attention: rsa key pair auth is only Japan regions available
func NewClientWithStsToken ¶
func NewClientWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken string) (client *Client, err error)
NewClientWithStsToken is a shortcut to create sdk client with sts token usage: https://help.aliyun.com/document_detail/66222.html
func (*Client) BindAlias ¶
func (client *Client) BindAlias(request *BindAliasRequest) (response *BindAliasResponse, err error)
BindAlias invokes the push.BindAlias API synchronously api document: https://help.aliyun.com/api/push/bindalias.html
func (*Client) BindAliasWithCallback ¶
func (client *Client) BindAliasWithCallback(request *BindAliasRequest, callback func(response *BindAliasResponse, err error)) <-chan int
BindAliasWithCallback invokes the push.BindAlias API asynchronously api document: https://help.aliyun.com/api/push/bindalias.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) BindAliasWithChan ¶
func (client *Client) BindAliasWithChan(request *BindAliasRequest) (<-chan *BindAliasResponse, <-chan error)
BindAliasWithChan invokes the push.BindAlias API asynchronously api document: https://help.aliyun.com/api/push/bindalias.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) BindPhone ¶
func (client *Client) BindPhone(request *BindPhoneRequest) (response *BindPhoneResponse, err error)
BindPhone invokes the push.BindPhone API synchronously api document: https://help.aliyun.com/api/push/bindphone.html
func (*Client) BindPhoneWithCallback ¶
func (client *Client) BindPhoneWithCallback(request *BindPhoneRequest, callback func(response *BindPhoneResponse, err error)) <-chan int
BindPhoneWithCallback invokes the push.BindPhone API asynchronously api document: https://help.aliyun.com/api/push/bindphone.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) BindPhoneWithChan ¶
func (client *Client) BindPhoneWithChan(request *BindPhoneRequest) (<-chan *BindPhoneResponse, <-chan error)
BindPhoneWithChan invokes the push.BindPhone API asynchronously api document: https://help.aliyun.com/api/push/bindphone.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) BindTag ¶
func (client *Client) BindTag(request *BindTagRequest) (response *BindTagResponse, err error)
BindTag invokes the push.BindTag API synchronously api document: https://help.aliyun.com/api/push/bindtag.html
func (*Client) BindTagWithCallback ¶
func (client *Client) BindTagWithCallback(request *BindTagRequest, callback func(response *BindTagResponse, err error)) <-chan int
BindTagWithCallback invokes the push.BindTag API asynchronously api document: https://help.aliyun.com/api/push/bindtag.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) BindTagWithChan ¶
func (client *Client) BindTagWithChan(request *BindTagRequest) (<-chan *BindTagResponse, <-chan error)
BindTagWithChan invokes the push.BindTag API asynchronously api document: https://help.aliyun.com/api/push/bindtag.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) CancelPush ¶
func (client *Client) CancelPush(request *CancelPushRequest) (response *CancelPushResponse, err error)
CancelPush invokes the push.CancelPush API synchronously api document: https://help.aliyun.com/api/push/cancelpush.html
func (*Client) CancelPushWithCallback ¶
func (client *Client) CancelPushWithCallback(request *CancelPushRequest, callback func(response *CancelPushResponse, err error)) <-chan int
CancelPushWithCallback invokes the push.CancelPush API asynchronously api document: https://help.aliyun.com/api/push/cancelpush.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) CancelPushWithChan ¶
func (client *Client) CancelPushWithChan(request *CancelPushRequest) (<-chan *CancelPushResponse, <-chan error)
CancelPushWithChan invokes the push.CancelPush API asynchronously api document: https://help.aliyun.com/api/push/cancelpush.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) CheckDevice ¶
func (client *Client) CheckDevice(request *CheckDeviceRequest) (response *CheckDeviceResponse, err error)
CheckDevice invokes the push.CheckDevice API synchronously api document: https://help.aliyun.com/api/push/checkdevice.html
func (*Client) CheckDeviceWithCallback ¶
func (client *Client) CheckDeviceWithCallback(request *CheckDeviceRequest, callback func(response *CheckDeviceResponse, err error)) <-chan int
CheckDeviceWithCallback invokes the push.CheckDevice API asynchronously api document: https://help.aliyun.com/api/push/checkdevice.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) CheckDeviceWithChan ¶
func (client *Client) CheckDeviceWithChan(request *CheckDeviceRequest) (<-chan *CheckDeviceResponse, <-chan error)
CheckDeviceWithChan invokes the push.CheckDevice API asynchronously api document: https://help.aliyun.com/api/push/checkdevice.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) CheckDevices ¶
func (client *Client) CheckDevices(request *CheckDevicesRequest) (response *CheckDevicesResponse, err error)
CheckDevices invokes the push.CheckDevices API synchronously api document: https://help.aliyun.com/api/push/checkdevices.html
func (*Client) CheckDevicesWithCallback ¶
func (client *Client) CheckDevicesWithCallback(request *CheckDevicesRequest, callback func(response *CheckDevicesResponse, err error)) <-chan int
CheckDevicesWithCallback invokes the push.CheckDevices API asynchronously api document: https://help.aliyun.com/api/push/checkdevices.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) CheckDevicesWithChan ¶
func (client *Client) CheckDevicesWithChan(request *CheckDevicesRequest) (<-chan *CheckDevicesResponse, <-chan error)
CheckDevicesWithChan invokes the push.CheckDevices API asynchronously api document: https://help.aliyun.com/api/push/checkdevices.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) ListPushRecords ¶
func (client *Client) ListPushRecords(request *ListPushRecordsRequest) (response *ListPushRecordsResponse, err error)
ListPushRecords invokes the push.ListPushRecords API synchronously api document: https://help.aliyun.com/api/push/listpushrecords.html
func (*Client) ListPushRecordsWithCallback ¶
func (client *Client) ListPushRecordsWithCallback(request *ListPushRecordsRequest, callback func(response *ListPushRecordsResponse, err error)) <-chan int
ListPushRecordsWithCallback invokes the push.ListPushRecords API asynchronously api document: https://help.aliyun.com/api/push/listpushrecords.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) ListPushRecordsWithChan ¶
func (client *Client) ListPushRecordsWithChan(request *ListPushRecordsRequest) (<-chan *ListPushRecordsResponse, <-chan error)
ListPushRecordsWithChan invokes the push.ListPushRecords API asynchronously api document: https://help.aliyun.com/api/push/listpushrecords.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) ListSummaryApps ¶
func (client *Client) ListSummaryApps(request *ListSummaryAppsRequest) (response *ListSummaryAppsResponse, err error)
ListSummaryApps invokes the push.ListSummaryApps API synchronously api document: https://help.aliyun.com/api/push/listsummaryapps.html
func (*Client) ListSummaryAppsWithCallback ¶
func (client *Client) ListSummaryAppsWithCallback(request *ListSummaryAppsRequest, callback func(response *ListSummaryAppsResponse, err error)) <-chan int
ListSummaryAppsWithCallback invokes the push.ListSummaryApps API asynchronously api document: https://help.aliyun.com/api/push/listsummaryapps.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) ListSummaryAppsWithChan ¶
func (client *Client) ListSummaryAppsWithChan(request *ListSummaryAppsRequest) (<-chan *ListSummaryAppsResponse, <-chan error)
ListSummaryAppsWithChan invokes the push.ListSummaryApps API asynchronously api document: https://help.aliyun.com/api/push/listsummaryapps.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) ListTags ¶
func (client *Client) ListTags(request *ListTagsRequest) (response *ListTagsResponse, err error)
ListTags invokes the push.ListTags API synchronously api document: https://help.aliyun.com/api/push/listtags.html
func (*Client) ListTagsWithCallback ¶
func (client *Client) ListTagsWithCallback(request *ListTagsRequest, callback func(response *ListTagsResponse, err error)) <-chan int
ListTagsWithCallback invokes the push.ListTags API asynchronously api document: https://help.aliyun.com/api/push/listtags.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) ListTagsWithChan ¶
func (client *Client) ListTagsWithChan(request *ListTagsRequest) (<-chan *ListTagsResponse, <-chan error)
ListTagsWithChan invokes the push.ListTags API asynchronously api document: https://help.aliyun.com/api/push/listtags.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) Push ¶
func (client *Client) Push(request *PushRequest) (response *PushResponse, err error)
Push invokes the push.Push API synchronously api document: https://help.aliyun.com/api/push/push.html
func (*Client) PushMessageToiOS ¶
func (client *Client) PushMessageToiOS(request *PushMessageToiOSRequest) (response *PushMessageToiOSResponse, err error)
PushMessageToiOS invokes the push.PushMessageToiOS API synchronously api document: https://help.aliyun.com/api/push/pushmessagetoios.html
func (*Client) PushMessageToiOSWithCallback ¶
func (client *Client) PushMessageToiOSWithCallback(request *PushMessageToiOSRequest, callback func(response *PushMessageToiOSResponse, err error)) <-chan int
PushMessageToiOSWithCallback invokes the push.PushMessageToiOS API asynchronously api document: https://help.aliyun.com/api/push/pushmessagetoios.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) PushMessageToiOSWithChan ¶
func (client *Client) PushMessageToiOSWithChan(request *PushMessageToiOSRequest) (<-chan *PushMessageToiOSResponse, <-chan error)
PushMessageToiOSWithChan invokes the push.PushMessageToiOS API asynchronously api document: https://help.aliyun.com/api/push/pushmessagetoios.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) PushNoticeToiOS ¶
func (client *Client) PushNoticeToiOS(request *PushNoticeToiOSRequest) (response *PushNoticeToiOSResponse, err error)
PushNoticeToiOS invokes the push.PushNoticeToiOS API synchronously api document: https://help.aliyun.com/api/push/pushnoticetoios.html
func (*Client) PushNoticeToiOSWithCallback ¶
func (client *Client) PushNoticeToiOSWithCallback(request *PushNoticeToiOSRequest, callback func(response *PushNoticeToiOSResponse, err error)) <-chan int
PushNoticeToiOSWithCallback invokes the push.PushNoticeToiOS API asynchronously api document: https://help.aliyun.com/api/push/pushnoticetoios.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) PushNoticeToiOSWithChan ¶
func (client *Client) PushNoticeToiOSWithChan(request *PushNoticeToiOSRequest) (<-chan *PushNoticeToiOSResponse, <-chan error)
PushNoticeToiOSWithChan invokes the push.PushNoticeToiOS API asynchronously api document: https://help.aliyun.com/api/push/pushnoticetoios.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) PushWithCallback ¶
func (client *Client) PushWithCallback(request *PushRequest, callback func(response *PushResponse, err error)) <-chan int
PushWithCallback invokes the push.Push API asynchronously api document: https://help.aliyun.com/api/push/push.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) PushWithChan ¶
func (client *Client) PushWithChan(request *PushRequest) (<-chan *PushResponse, <-chan error)
PushWithChan invokes the push.Push API asynchronously api document: https://help.aliyun.com/api/push/push.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) QueryAliases ¶
func (client *Client) QueryAliases(request *QueryAliasesRequest) (response *QueryAliasesResponse, err error)
QueryAliases invokes the push.QueryAliases API synchronously api document: https://help.aliyun.com/api/push/queryaliases.html
func (*Client) QueryAliasesWithCallback ¶
func (client *Client) QueryAliasesWithCallback(request *QueryAliasesRequest, callback func(response *QueryAliasesResponse, err error)) <-chan int
QueryAliasesWithCallback invokes the push.QueryAliases API asynchronously api document: https://help.aliyun.com/api/push/queryaliases.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) QueryAliasesWithChan ¶
func (client *Client) QueryAliasesWithChan(request *QueryAliasesRequest) (<-chan *QueryAliasesResponse, <-chan error)
QueryAliasesWithChan invokes the push.QueryAliases API asynchronously api document: https://help.aliyun.com/api/push/queryaliases.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) QueryDeviceInfo ¶
func (client *Client) QueryDeviceInfo(request *QueryDeviceInfoRequest) (response *QueryDeviceInfoResponse, err error)
QueryDeviceInfo invokes the push.QueryDeviceInfo API synchronously api document: https://help.aliyun.com/api/push/querydeviceinfo.html
func (*Client) QueryDeviceInfoWithCallback ¶
func (client *Client) QueryDeviceInfoWithCallback(request *QueryDeviceInfoRequest, callback func(response *QueryDeviceInfoResponse, err error)) <-chan int
QueryDeviceInfoWithCallback invokes the push.QueryDeviceInfo API asynchronously api document: https://help.aliyun.com/api/push/querydeviceinfo.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) QueryDeviceInfoWithChan ¶
func (client *Client) QueryDeviceInfoWithChan(request *QueryDeviceInfoRequest) (<-chan *QueryDeviceInfoResponse, <-chan error)
QueryDeviceInfoWithChan invokes the push.QueryDeviceInfo API asynchronously api document: https://help.aliyun.com/api/push/querydeviceinfo.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) QueryDeviceStat ¶
func (client *Client) QueryDeviceStat(request *QueryDeviceStatRequest) (response *QueryDeviceStatResponse, err error)
QueryDeviceStat invokes the push.QueryDeviceStat API synchronously api document: https://help.aliyun.com/api/push/querydevicestat.html
func (*Client) QueryDeviceStatWithCallback ¶
func (client *Client) QueryDeviceStatWithCallback(request *QueryDeviceStatRequest, callback func(response *QueryDeviceStatResponse, err error)) <-chan int
QueryDeviceStatWithCallback invokes the push.QueryDeviceStat API asynchronously api document: https://help.aliyun.com/api/push/querydevicestat.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) QueryDeviceStatWithChan ¶
func (client *Client) QueryDeviceStatWithChan(request *QueryDeviceStatRequest) (<-chan *QueryDeviceStatResponse, <-chan error)
QueryDeviceStatWithChan invokes the push.QueryDeviceStat API asynchronously api document: https://help.aliyun.com/api/push/querydevicestat.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) QueryDevicesByAccount ¶
func (client *Client) QueryDevicesByAccount(request *QueryDevicesByAccountRequest) (response *QueryDevicesByAccountResponse, err error)
QueryDevicesByAccount invokes the push.QueryDevicesByAccount API synchronously api document: https://help.aliyun.com/api/push/querydevicesbyaccount.html
func (*Client) QueryDevicesByAccountWithCallback ¶
func (client *Client) QueryDevicesByAccountWithCallback(request *QueryDevicesByAccountRequest, callback func(response *QueryDevicesByAccountResponse, err error)) <-chan int
QueryDevicesByAccountWithCallback invokes the push.QueryDevicesByAccount API asynchronously api document: https://help.aliyun.com/api/push/querydevicesbyaccount.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) QueryDevicesByAccountWithChan ¶
func (client *Client) QueryDevicesByAccountWithChan(request *QueryDevicesByAccountRequest) (<-chan *QueryDevicesByAccountResponse, <-chan error)
QueryDevicesByAccountWithChan invokes the push.QueryDevicesByAccount API asynchronously api document: https://help.aliyun.com/api/push/querydevicesbyaccount.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) QueryDevicesByAlias ¶
func (client *Client) QueryDevicesByAlias(request *QueryDevicesByAliasRequest) (response *QueryDevicesByAliasResponse, err error)
QueryDevicesByAlias invokes the push.QueryDevicesByAlias API synchronously api document: https://help.aliyun.com/api/push/querydevicesbyalias.html
func (*Client) QueryDevicesByAliasWithCallback ¶
func (client *Client) QueryDevicesByAliasWithCallback(request *QueryDevicesByAliasRequest, callback func(response *QueryDevicesByAliasResponse, err error)) <-chan int
QueryDevicesByAliasWithCallback invokes the push.QueryDevicesByAlias API asynchronously api document: https://help.aliyun.com/api/push/querydevicesbyalias.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) QueryDevicesByAliasWithChan ¶
func (client *Client) QueryDevicesByAliasWithChan(request *QueryDevicesByAliasRequest) (<-chan *QueryDevicesByAliasResponse, <-chan error)
QueryDevicesByAliasWithChan invokes the push.QueryDevicesByAlias API asynchronously api document: https://help.aliyun.com/api/push/querydevicesbyalias.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) QueryPushList ¶
func (client *Client) QueryPushList(request *QueryPushListRequest) (response *QueryPushListResponse, err error)
QueryPushList invokes the push.QueryPushList API synchronously api document: https://help.aliyun.com/api/push/querypushlist.html
func (*Client) QueryPushListWithCallback ¶
func (client *Client) QueryPushListWithCallback(request *QueryPushListRequest, callback func(response *QueryPushListResponse, err error)) <-chan int
QueryPushListWithCallback invokes the push.QueryPushList API asynchronously api document: https://help.aliyun.com/api/push/querypushlist.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) QueryPushListWithChan ¶
func (client *Client) QueryPushListWithChan(request *QueryPushListRequest) (<-chan *QueryPushListResponse, <-chan error)
QueryPushListWithChan invokes the push.QueryPushList API asynchronously api document: https://help.aliyun.com/api/push/querypushlist.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) QueryPushStatByApp ¶
func (client *Client) QueryPushStatByApp(request *QueryPushStatByAppRequest) (response *QueryPushStatByAppResponse, err error)
QueryPushStatByApp invokes the push.QueryPushStatByApp API synchronously api document: https://help.aliyun.com/api/push/querypushstatbyapp.html
func (*Client) QueryPushStatByAppWithCallback ¶
func (client *Client) QueryPushStatByAppWithCallback(request *QueryPushStatByAppRequest, callback func(response *QueryPushStatByAppResponse, err error)) <-chan int
QueryPushStatByAppWithCallback invokes the push.QueryPushStatByApp API asynchronously api document: https://help.aliyun.com/api/push/querypushstatbyapp.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) QueryPushStatByAppWithChan ¶
func (client *Client) QueryPushStatByAppWithChan(request *QueryPushStatByAppRequest) (<-chan *QueryPushStatByAppResponse, <-chan error)
QueryPushStatByAppWithChan invokes the push.QueryPushStatByApp API asynchronously api document: https://help.aliyun.com/api/push/querypushstatbyapp.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) QueryPushStatByMsg ¶
func (client *Client) QueryPushStatByMsg(request *QueryPushStatByMsgRequest) (response *QueryPushStatByMsgResponse, err error)
QueryPushStatByMsg invokes the push.QueryPushStatByMsg API synchronously api document: https://help.aliyun.com/api/push/querypushstatbymsg.html
func (*Client) QueryPushStatByMsgWithCallback ¶
func (client *Client) QueryPushStatByMsgWithCallback(request *QueryPushStatByMsgRequest, callback func(response *QueryPushStatByMsgResponse, err error)) <-chan int
QueryPushStatByMsgWithCallback invokes the push.QueryPushStatByMsg API asynchronously api document: https://help.aliyun.com/api/push/querypushstatbymsg.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) QueryPushStatByMsgWithChan ¶
func (client *Client) QueryPushStatByMsgWithChan(request *QueryPushStatByMsgRequest) (<-chan *QueryPushStatByMsgResponse, <-chan error)
QueryPushStatByMsgWithChan invokes the push.QueryPushStatByMsg API asynchronously api document: https://help.aliyun.com/api/push/querypushstatbymsg.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) QueryTags ¶
func (client *Client) QueryTags(request *QueryTagsRequest) (response *QueryTagsResponse, err error)
QueryTags invokes the push.QueryTags API synchronously api document: https://help.aliyun.com/api/push/querytags.html
func (*Client) QueryTagsWithCallback ¶
func (client *Client) QueryTagsWithCallback(request *QueryTagsRequest, callback func(response *QueryTagsResponse, err error)) <-chan int
QueryTagsWithCallback invokes the push.QueryTags API asynchronously api document: https://help.aliyun.com/api/push/querytags.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) QueryTagsWithChan ¶
func (client *Client) QueryTagsWithChan(request *QueryTagsRequest) (<-chan *QueryTagsResponse, <-chan error)
QueryTagsWithChan invokes the push.QueryTags API asynchronously api document: https://help.aliyun.com/api/push/querytags.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) QueryUniqueDeviceStat ¶
func (client *Client) QueryUniqueDeviceStat(request *QueryUniqueDeviceStatRequest) (response *QueryUniqueDeviceStatResponse, err error)
QueryUniqueDeviceStat invokes the push.QueryUniqueDeviceStat API synchronously api document: https://help.aliyun.com/api/push/queryuniquedevicestat.html
func (*Client) QueryUniqueDeviceStatWithCallback ¶
func (client *Client) QueryUniqueDeviceStatWithCallback(request *QueryUniqueDeviceStatRequest, callback func(response *QueryUniqueDeviceStatResponse, err error)) <-chan int
QueryUniqueDeviceStatWithCallback invokes the push.QueryUniqueDeviceStat API asynchronously api document: https://help.aliyun.com/api/push/queryuniquedevicestat.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) QueryUniqueDeviceStatWithChan ¶
func (client *Client) QueryUniqueDeviceStatWithChan(request *QueryUniqueDeviceStatRequest) (<-chan *QueryUniqueDeviceStatResponse, <-chan error)
QueryUniqueDeviceStatWithChan invokes the push.QueryUniqueDeviceStat API asynchronously api document: https://help.aliyun.com/api/push/queryuniquedevicestat.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) RemoveTag ¶
func (client *Client) RemoveTag(request *RemoveTagRequest) (response *RemoveTagResponse, err error)
RemoveTag invokes the push.RemoveTag API synchronously api document: https://help.aliyun.com/api/push/removetag.html
func (*Client) RemoveTagWithCallback ¶
func (client *Client) RemoveTagWithCallback(request *RemoveTagRequest, callback func(response *RemoveTagResponse, err error)) <-chan int
RemoveTagWithCallback invokes the push.RemoveTag API asynchronously api document: https://help.aliyun.com/api/push/removetag.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) RemoveTagWithChan ¶
func (client *Client) RemoveTagWithChan(request *RemoveTagRequest) (<-chan *RemoveTagResponse, <-chan error)
RemoveTagWithChan invokes the push.RemoveTag API asynchronously api document: https://help.aliyun.com/api/push/removetag.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) UnbindAlias ¶
func (client *Client) UnbindAlias(request *UnbindAliasRequest) (response *UnbindAliasResponse, err error)
UnbindAlias invokes the push.UnbindAlias API synchronously api document: https://help.aliyun.com/api/push/unbindalias.html
func (*Client) UnbindAliasWithCallback ¶
func (client *Client) UnbindAliasWithCallback(request *UnbindAliasRequest, callback func(response *UnbindAliasResponse, err error)) <-chan int
UnbindAliasWithCallback invokes the push.UnbindAlias API asynchronously api document: https://help.aliyun.com/api/push/unbindalias.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) UnbindAliasWithChan ¶
func (client *Client) UnbindAliasWithChan(request *UnbindAliasRequest) (<-chan *UnbindAliasResponse, <-chan error)
UnbindAliasWithChan invokes the push.UnbindAlias API asynchronously api document: https://help.aliyun.com/api/push/unbindalias.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) UnbindPhone ¶
func (client *Client) UnbindPhone(request *UnbindPhoneRequest) (response *UnbindPhoneResponse, err error)
UnbindPhone invokes the push.UnbindPhone API synchronously api document: https://help.aliyun.com/api/push/unbindphone.html
func (*Client) UnbindPhoneWithCallback ¶
func (client *Client) UnbindPhoneWithCallback(request *UnbindPhoneRequest, callback func(response *UnbindPhoneResponse, err error)) <-chan int
UnbindPhoneWithCallback invokes the push.UnbindPhone API asynchronously api document: https://help.aliyun.com/api/push/unbindphone.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) UnbindPhoneWithChan ¶
func (client *Client) UnbindPhoneWithChan(request *UnbindPhoneRequest) (<-chan *UnbindPhoneResponse, <-chan error)
UnbindPhoneWithChan invokes the push.UnbindPhone API asynchronously api document: https://help.aliyun.com/api/push/unbindphone.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) UnbindTag ¶
func (client *Client) UnbindTag(request *UnbindTagRequest) (response *UnbindTagResponse, err error)
UnbindTag invokes the push.UnbindTag API synchronously api document: https://help.aliyun.com/api/push/unbindtag.html
func (*Client) UnbindTagWithCallback ¶
func (client *Client) UnbindTagWithCallback(request *UnbindTagRequest, callback func(response *UnbindTagResponse, err error)) <-chan int
UnbindTagWithCallback invokes the push.UnbindTag API asynchronously api document: https://help.aliyun.com/api/push/unbindtag.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) UnbindTagWithChan ¶
func (client *Client) UnbindTagWithChan(request *UnbindTagRequest) (<-chan *UnbindTagResponse, <-chan error)
UnbindTagWithChan invokes the push.UnbindTag API asynchronously api document: https://help.aliyun.com/api/push/unbindtag.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
type DeviceCheckInfo ¶
type DeviceCheckInfo struct { DeviceId string `json:"DeviceId" xml:"DeviceId"` Available bool `json:"Available" xml:"Available"` }
DeviceCheckInfo is a nested struct in push response
type DeviceCheckInfos ¶
type DeviceCheckInfos struct {
DeviceCheckInfo []DeviceCheckInfo `json:"DeviceCheckInfo" xml:"DeviceCheckInfo"`
}
DeviceCheckInfos is a nested struct in push response
type DeviceIdsInQueryDevicesByAccount ¶
type DeviceIdsInQueryDevicesByAccount struct {
DeviceId []string `json:"DeviceId" xml:"DeviceId"`
}
DeviceIdsInQueryDevicesByAccount is a nested struct in push response
type DeviceIdsInQueryDevicesByAlias ¶
type DeviceIdsInQueryDevicesByAlias struct {
DeviceId []string `json:"DeviceId" xml:"DeviceId"`
}
DeviceIdsInQueryDevicesByAlias is a nested struct in push response
type DeviceInfo ¶
type DeviceInfo struct { DeviceId string `json:"DeviceId" xml:"DeviceId"` DeviceType string `json:"DeviceType" xml:"DeviceType"` Account string `json:"Account" xml:"Account"` DeviceToken string `json:"DeviceToken" xml:"DeviceToken"` Tags string `json:"Tags" xml:"Tags"` Alias string `json:"Alias" xml:"Alias"` LastOnlineTime string `json:"LastOnlineTime" xml:"LastOnlineTime"` Online bool `json:"Online" xml:"Online"` PhoneNumber string `json:"PhoneNumber" xml:"PhoneNumber"` PushEnabled bool `json:"PushEnabled" xml:"PushEnabled"` }
DeviceInfo is a nested struct in push response
type ListPushRecordsRequest ¶
type ListPushRecordsRequest struct { *requests.RpcRequest AppKey requests.Integer `position:"Query" name:"AppKey"` PushType string `position:"Query" name:"PushType"` StartTime string `position:"Query" name:"StartTime"` EndTime string `position:"Query" name:"EndTime"` Page requests.Integer `position:"Query" name:"Page"` PageSize requests.Integer `position:"Query" name:"PageSize"` }
ListPushRecordsRequest is the request struct for api ListPushRecords
func CreateListPushRecordsRequest ¶
func CreateListPushRecordsRequest() (request *ListPushRecordsRequest)
CreateListPushRecordsRequest creates a request to invoke ListPushRecords API
type ListPushRecordsResponse ¶
type ListPushRecordsResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` Total int `json:"Total" xml:"Total"` Page int `json:"Page" xml:"Page"` PageSize int `json:"PageSize" xml:"PageSize"` PushMessageInfos PushMessageInfosInListPushRecords `json:"PushMessageInfos" xml:"PushMessageInfos"` }
ListPushRecordsResponse is the response struct for api ListPushRecords
func CreateListPushRecordsResponse ¶
func CreateListPushRecordsResponse() (response *ListPushRecordsResponse)
CreateListPushRecordsResponse creates a response to parse from ListPushRecords response
type ListSummaryAppsRequest ¶
type ListSummaryAppsRequest struct {
*requests.RpcRequest
}
ListSummaryAppsRequest is the request struct for api ListSummaryApps
func CreateListSummaryAppsRequest ¶
func CreateListSummaryAppsRequest() (request *ListSummaryAppsRequest)
CreateListSummaryAppsRequest creates a request to invoke ListSummaryApps API
type ListSummaryAppsResponse ¶
type ListSummaryAppsResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` SummaryAppInfos SummaryAppInfos `json:"SummaryAppInfos" xml:"SummaryAppInfos"` }
ListSummaryAppsResponse is the response struct for api ListSummaryApps
func CreateListSummaryAppsResponse ¶
func CreateListSummaryAppsResponse() (response *ListSummaryAppsResponse)
CreateListSummaryAppsResponse creates a response to parse from ListSummaryApps response
type ListTagsRequest ¶
type ListTagsRequest struct { *requests.RpcRequest AppKey requests.Integer `position:"Query" name:"AppKey"` }
ListTagsRequest is the request struct for api ListTags
func CreateListTagsRequest ¶
func CreateListTagsRequest() (request *ListTagsRequest)
CreateListTagsRequest creates a request to invoke ListTags API
type ListTagsResponse ¶
type ListTagsResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` TagInfos TagInfosInListTags `json:"TagInfos" xml:"TagInfos"` }
ListTagsResponse is the response struct for api ListTags
func CreateListTagsResponse ¶
func CreateListTagsResponse() (response *ListTagsResponse)
CreateListTagsResponse creates a response to parse from ListTags response
type PushMessageInfo ¶
type PushMessageInfo struct { MessageId string `json:"MessageId" xml:"MessageId"` PushTime string `json:"PushTime" xml:"PushTime"` Title string `json:"Title" xml:"Title"` AppKey int `json:"AppKey" xml:"AppKey"` DeviceType string `json:"DeviceType" xml:"DeviceType"` Body string `json:"Body" xml:"Body"` AppName string `json:"AppName" xml:"AppName"` Type string `json:"Type" xml:"Type"` }
PushMessageInfo is a nested struct in push response
type PushMessageInfosInListPushRecords ¶
type PushMessageInfosInListPushRecords struct {
PushMessageInfo []PushMessageInfo `json:"PushMessageInfo" xml:"PushMessageInfo"`
}
PushMessageInfosInListPushRecords is a nested struct in push response
type PushMessageInfosInQueryPushList ¶
type PushMessageInfosInQueryPushList struct {
PushMessageInfo []PushMessageInfo `json:"PushMessageInfo" xml:"PushMessageInfo"`
}
PushMessageInfosInQueryPushList is a nested struct in push response
type PushMessageToiOSRequest ¶
type PushMessageToiOSRequest struct { *requests.RpcRequest AppKey requests.Integer `position:"Query" name:"AppKey"` Target string `position:"Query" name:"Target"` TargetValue string `position:"Query" name:"TargetValue"` Title string `position:"Query" name:"Title"` Body string `position:"Query" name:"Body"` JobKey string `position:"Query" name:"JobKey"` }
PushMessageToiOSRequest is the request struct for api PushMessageToiOS
func CreatePushMessageToiOSRequest ¶
func CreatePushMessageToiOSRequest() (request *PushMessageToiOSRequest)
CreatePushMessageToiOSRequest creates a request to invoke PushMessageToiOS API
type PushMessageToiOSResponse ¶
type PushMessageToiOSResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` MessageId string `json:"MessageId" xml:"MessageId"` }
PushMessageToiOSResponse is the response struct for api PushMessageToiOS
func CreatePushMessageToiOSResponse ¶
func CreatePushMessageToiOSResponse() (response *PushMessageToiOSResponse)
CreatePushMessageToiOSResponse creates a response to parse from PushMessageToiOS response
type PushNoticeToiOSRequest ¶
type PushNoticeToiOSRequest struct { *requests.RpcRequest AppKey requests.Integer `position:"Query" name:"AppKey"` Target string `position:"Query" name:"Target"` TargetValue string `position:"Query" name:"TargetValue"` ApnsEnv string `position:"Query" name:"ApnsEnv"` Title string `position:"Query" name:"Title"` Body string `position:"Query" name:"Body"` JobKey string `position:"Query" name:"JobKey"` ExtParameters string `position:"Query" name:"ExtParameters"` }
PushNoticeToiOSRequest is the request struct for api PushNoticeToiOS
func CreatePushNoticeToiOSRequest ¶
func CreatePushNoticeToiOSRequest() (request *PushNoticeToiOSRequest)
CreatePushNoticeToiOSRequest creates a request to invoke PushNoticeToiOS API
type PushNoticeToiOSResponse ¶
type PushNoticeToiOSResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` MessageId string `json:"MessageId" xml:"MessageId"` }
PushNoticeToiOSResponse is the response struct for api PushNoticeToiOS
func CreatePushNoticeToiOSResponse ¶
func CreatePushNoticeToiOSResponse() (response *PushNoticeToiOSResponse)
CreatePushNoticeToiOSResponse creates a response to parse from PushNoticeToiOS response
type PushRequest ¶
type PushRequest struct { *requests.RpcRequest AppKey requests.Integer `position:"Query" name:"AppKey"` PushType string `position:"Query" name:"PushType"` DeviceType string `position:"Query" name:"DeviceType"` Target string `position:"Query" name:"Target"` TargetValue string `position:"Query" name:"TargetValue"` Title string `position:"Query" name:"Title"` Body string `position:"Query" name:"Body"` JobKey string `position:"Query" name:"JobKey"` SendSpeed requests.Integer `position:"Query" name:"SendSpeed"` StoreOffline requests.Boolean `position:"Query" name:"StoreOffline"` PushTime string `position:"Query" name:"PushTime"` ExpireTime string `position:"Query" name:"ExpireTime"` IOSApnsEnv string `position:"Query" name:"iOSApnsEnv"` IOSRemind requests.Boolean `position:"Query" name:"iOSRemind"` IOSRemindBody string `position:"Query" name:"iOSRemindBody"` IOSBadge requests.Integer `position:"Query" name:"iOSBadge"` IOSBadgeAutoIncrement requests.Boolean `position:"Query" name:"iOSBadgeAutoIncrement"` IOSSilentNotification requests.Boolean `position:"Query" name:"iOSSilentNotification"` IOSMusic string `position:"Query" name:"iOSMusic"` IOSSubtitle string `position:"Query" name:"iOSSubtitle"` IOSNotificationCategory string `position:"Query" name:"iOSNotificationCategory"` IOSMutableContent requests.Boolean `position:"Query" name:"iOSMutableContent"` IOSExtParameters string `position:"Query" name:"iOSExtParameters"` AndroidNotifyType string `position:"Query" name:"AndroidNotifyType"` AndroidOpenType string `position:"Query" name:"AndroidOpenType"` AndroidActivity string `position:"Query" name:"AndroidActivity"` AndroidMusic string `position:"Query" name:"AndroidMusic"` AndroidOpenUrl string `position:"Query" name:"AndroidOpenUrl"` AndroidXiaoMiActivity string `position:"Query" name:"AndroidXiaoMiActivity"` AndroidXiaoMiNotifyTitle string `position:"Query" name:"AndroidXiaoMiNotifyTitle"` AndroidXiaoMiNotifyBody string `position:"Query" name:"AndroidXiaoMiNotifyBody"` AndroidPopupActivity string `position:"Query" name:"AndroidPopupActivity"` AndroidPopupTitle string `position:"Query" name:"AndroidPopupTitle"` AndroidPopupBody string `position:"Query" name:"AndroidPopupBody"` AndroidNotificationBarType requests.Integer `position:"Query" name:"AndroidNotificationBarType"` AndroidNotificationBarPriority requests.Integer `position:"Query" name:"AndroidNotificationBarPriority"` AndroidExtParameters string `position:"Query" name:"AndroidExtParameters"` AndroidRemind requests.Boolean `position:"Query" name:"AndroidRemind"` AndroidNotificationChannel string `position:"Query" name:"AndroidNotificationChannel"` SmsTemplateName string `position:"Query" name:"SmsTemplateName"` SmsSignName string `position:"Query" name:"SmsSignName"` SmsParams string `position:"Query" name:"SmsParams"` SmsDelaySecs requests.Integer `position:"Query" name:"SmsDelaySecs"` SmsSendPolicy requests.Integer `position:"Query" name:"SmsSendPolicy"` }
PushRequest is the request struct for api Push
func CreatePushRequest ¶
func CreatePushRequest() (request *PushRequest)
CreatePushRequest creates a request to invoke Push API
type PushResponse ¶
type PushResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` MessageId string `json:"MessageId" xml:"MessageId"` }
PushResponse is the response struct for api Push
func CreatePushResponse ¶
func CreatePushResponse() (response *PushResponse)
CreatePushResponse creates a response to parse from Push response
type PushStat ¶
type PushStat struct { MessageId string `json:"MessageId" xml:"MessageId"` AcceptCount int `json:"AcceptCount" xml:"AcceptCount"` SentCount int `json:"SentCount" xml:"SentCount"` ReceivedCount int `json:"ReceivedCount" xml:"ReceivedCount"` OpenedCount int `json:"OpenedCount" xml:"OpenedCount"` DeletedCount int `json:"DeletedCount" xml:"DeletedCount"` SmsSentCount int `json:"SmsSentCount" xml:"SmsSentCount"` SmsSkipCount int `json:"SmsSkipCount" xml:"SmsSkipCount"` SmsFailedCount int `json:"SmsFailedCount" xml:"SmsFailedCount"` SmsReceiveSuccessCount int `json:"SmsReceiveSuccessCount" xml:"SmsReceiveSuccessCount"` SmsReceiveFailedCount int `json:"SmsReceiveFailedCount" xml:"SmsReceiveFailedCount"` }
PushStat is a nested struct in push response
type PushStats ¶
type PushStats struct {
PushStat []PushStat `json:"PushStat" xml:"PushStat"`
}
PushStats is a nested struct in push response
type QueryAliasesRequest ¶
type QueryAliasesRequest struct { *requests.RpcRequest AppKey requests.Integer `position:"Query" name:"AppKey"` DeviceId string `position:"Query" name:"DeviceId"` }
QueryAliasesRequest is the request struct for api QueryAliases
func CreateQueryAliasesRequest ¶
func CreateQueryAliasesRequest() (request *QueryAliasesRequest)
CreateQueryAliasesRequest creates a request to invoke QueryAliases API
type QueryAliasesResponse ¶
type QueryAliasesResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` AliasInfos AliasInfos `json:"AliasInfos" xml:"AliasInfos"` }
QueryAliasesResponse is the response struct for api QueryAliases
func CreateQueryAliasesResponse ¶
func CreateQueryAliasesResponse() (response *QueryAliasesResponse)
CreateQueryAliasesResponse creates a response to parse from QueryAliases response
type QueryDeviceInfoRequest ¶
type QueryDeviceInfoRequest struct { *requests.RpcRequest AppKey requests.Integer `position:"Query" name:"AppKey"` DeviceId string `position:"Query" name:"DeviceId"` }
QueryDeviceInfoRequest is the request struct for api QueryDeviceInfo
func CreateQueryDeviceInfoRequest ¶
func CreateQueryDeviceInfoRequest() (request *QueryDeviceInfoRequest)
CreateQueryDeviceInfoRequest creates a request to invoke QueryDeviceInfo API
type QueryDeviceInfoResponse ¶
type QueryDeviceInfoResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` DeviceInfo DeviceInfo `json:"DeviceInfo" xml:"DeviceInfo"` }
QueryDeviceInfoResponse is the response struct for api QueryDeviceInfo
func CreateQueryDeviceInfoResponse ¶
func CreateQueryDeviceInfoResponse() (response *QueryDeviceInfoResponse)
CreateQueryDeviceInfoResponse creates a response to parse from QueryDeviceInfo response
type QueryDeviceStatRequest ¶
type QueryDeviceStatRequest struct { *requests.RpcRequest AppKey requests.Integer `position:"Query" name:"AppKey"` StartTime string `position:"Query" name:"StartTime"` EndTime string `position:"Query" name:"EndTime"` DeviceType string `position:"Query" name:"DeviceType"` QueryType string `position:"Query" name:"QueryType"` }
QueryDeviceStatRequest is the request struct for api QueryDeviceStat
func CreateQueryDeviceStatRequest ¶
func CreateQueryDeviceStatRequest() (request *QueryDeviceStatRequest)
CreateQueryDeviceStatRequest creates a request to invoke QueryDeviceStat API
type QueryDeviceStatResponse ¶
type QueryDeviceStatResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` AppDeviceStats AppDeviceStatsInQueryDeviceStat `json:"AppDeviceStats" xml:"AppDeviceStats"` }
QueryDeviceStatResponse is the response struct for api QueryDeviceStat
func CreateQueryDeviceStatResponse ¶
func CreateQueryDeviceStatResponse() (response *QueryDeviceStatResponse)
CreateQueryDeviceStatResponse creates a response to parse from QueryDeviceStat response
type QueryDevicesByAccountRequest ¶
type QueryDevicesByAccountRequest struct { *requests.RpcRequest AppKey requests.Integer `position:"Query" name:"AppKey"` Account string `position:"Query" name:"Account"` }
QueryDevicesByAccountRequest is the request struct for api QueryDevicesByAccount
func CreateQueryDevicesByAccountRequest ¶
func CreateQueryDevicesByAccountRequest() (request *QueryDevicesByAccountRequest)
CreateQueryDevicesByAccountRequest creates a request to invoke QueryDevicesByAccount API
type QueryDevicesByAccountResponse ¶
type QueryDevicesByAccountResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` DeviceIds DeviceIdsInQueryDevicesByAccount `json:"DeviceIds" xml:"DeviceIds"` }
QueryDevicesByAccountResponse is the response struct for api QueryDevicesByAccount
func CreateQueryDevicesByAccountResponse ¶
func CreateQueryDevicesByAccountResponse() (response *QueryDevicesByAccountResponse)
CreateQueryDevicesByAccountResponse creates a response to parse from QueryDevicesByAccount response
type QueryDevicesByAliasRequest ¶
type QueryDevicesByAliasRequest struct { *requests.RpcRequest AppKey requests.Integer `position:"Query" name:"AppKey"` Alias string `position:"Query" name:"Alias"` }
QueryDevicesByAliasRequest is the request struct for api QueryDevicesByAlias
func CreateQueryDevicesByAliasRequest ¶
func CreateQueryDevicesByAliasRequest() (request *QueryDevicesByAliasRequest)
CreateQueryDevicesByAliasRequest creates a request to invoke QueryDevicesByAlias API
type QueryDevicesByAliasResponse ¶
type QueryDevicesByAliasResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` DeviceIds DeviceIdsInQueryDevicesByAlias `json:"DeviceIds" xml:"DeviceIds"` }
QueryDevicesByAliasResponse is the response struct for api QueryDevicesByAlias
func CreateQueryDevicesByAliasResponse ¶
func CreateQueryDevicesByAliasResponse() (response *QueryDevicesByAliasResponse)
CreateQueryDevicesByAliasResponse creates a response to parse from QueryDevicesByAlias response
type QueryPushListRequest ¶
type QueryPushListRequest struct { *requests.RpcRequest AppKey requests.Integer `position:"Query" name:"AppKey"` PushType string `position:"Query" name:"PushType"` StartTime string `position:"Query" name:"StartTime"` EndTime string `position:"Query" name:"EndTime"` Page requests.Integer `position:"Query" name:"Page"` PageSize requests.Integer `position:"Query" name:"PageSize"` }
QueryPushListRequest is the request struct for api QueryPushList
func CreateQueryPushListRequest ¶
func CreateQueryPushListRequest() (request *QueryPushListRequest)
CreateQueryPushListRequest creates a request to invoke QueryPushList API
type QueryPushListResponse ¶
type QueryPushListResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` HasNext bool `json:"HasNext" xml:"HasNext"` Page int `json:"Page" xml:"Page"` PageSize int `json:"PageSize" xml:"PageSize"` PushMessageInfos PushMessageInfosInQueryPushList `json:"PushMessageInfos" xml:"PushMessageInfos"` }
QueryPushListResponse is the response struct for api QueryPushList
func CreateQueryPushListResponse ¶
func CreateQueryPushListResponse() (response *QueryPushListResponse)
CreateQueryPushListResponse creates a response to parse from QueryPushList response
type QueryPushStatByAppRequest ¶
type QueryPushStatByAppRequest struct { *requests.RpcRequest AppKey requests.Integer `position:"Query" name:"AppKey"` StartTime string `position:"Query" name:"StartTime"` EndTime string `position:"Query" name:"EndTime"` Granularity string `position:"Query" name:"Granularity"` }
QueryPushStatByAppRequest is the request struct for api QueryPushStatByApp
func CreateQueryPushStatByAppRequest ¶
func CreateQueryPushStatByAppRequest() (request *QueryPushStatByAppRequest)
CreateQueryPushStatByAppRequest creates a request to invoke QueryPushStatByApp API
type QueryPushStatByAppResponse ¶
type QueryPushStatByAppResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` AppPushStats AppPushStats `json:"AppPushStats" xml:"AppPushStats"` }
QueryPushStatByAppResponse is the response struct for api QueryPushStatByApp
func CreateQueryPushStatByAppResponse ¶
func CreateQueryPushStatByAppResponse() (response *QueryPushStatByAppResponse)
CreateQueryPushStatByAppResponse creates a response to parse from QueryPushStatByApp response
type QueryPushStatByMsgRequest ¶
type QueryPushStatByMsgRequest struct { *requests.RpcRequest AppKey requests.Integer `position:"Query" name:"AppKey"` MessageId requests.Integer `position:"Query" name:"MessageId"` }
QueryPushStatByMsgRequest is the request struct for api QueryPushStatByMsg
func CreateQueryPushStatByMsgRequest ¶
func CreateQueryPushStatByMsgRequest() (request *QueryPushStatByMsgRequest)
CreateQueryPushStatByMsgRequest creates a request to invoke QueryPushStatByMsg API
type QueryPushStatByMsgResponse ¶
type QueryPushStatByMsgResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` PushStats PushStats `json:"PushStats" xml:"PushStats"` }
QueryPushStatByMsgResponse is the response struct for api QueryPushStatByMsg
func CreateQueryPushStatByMsgResponse ¶
func CreateQueryPushStatByMsgResponse() (response *QueryPushStatByMsgResponse)
CreateQueryPushStatByMsgResponse creates a response to parse from QueryPushStatByMsg response
type QueryTagsRequest ¶
type QueryTagsRequest struct { *requests.RpcRequest AppKey requests.Integer `position:"Query" name:"AppKey"` ClientKey string `position:"Query" name:"ClientKey"` KeyType string `position:"Query" name:"KeyType"` }
QueryTagsRequest is the request struct for api QueryTags
func CreateQueryTagsRequest ¶
func CreateQueryTagsRequest() (request *QueryTagsRequest)
CreateQueryTagsRequest creates a request to invoke QueryTags API
type QueryTagsResponse ¶
type QueryTagsResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` TagInfos TagInfosInQueryTags `json:"TagInfos" xml:"TagInfos"` }
QueryTagsResponse is the response struct for api QueryTags
func CreateQueryTagsResponse ¶
func CreateQueryTagsResponse() (response *QueryTagsResponse)
CreateQueryTagsResponse creates a response to parse from QueryTags response
type QueryUniqueDeviceStatRequest ¶
type QueryUniqueDeviceStatRequest struct { *requests.RpcRequest AppKey requests.Integer `position:"Query" name:"AppKey"` StartTime string `position:"Query" name:"StartTime"` EndTime string `position:"Query" name:"EndTime"` Granularity string `position:"Query" name:"Granularity"` }
QueryUniqueDeviceStatRequest is the request struct for api QueryUniqueDeviceStat
func CreateQueryUniqueDeviceStatRequest ¶
func CreateQueryUniqueDeviceStatRequest() (request *QueryUniqueDeviceStatRequest)
CreateQueryUniqueDeviceStatRequest creates a request to invoke QueryUniqueDeviceStat API
type QueryUniqueDeviceStatResponse ¶
type QueryUniqueDeviceStatResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` AppDeviceStats AppDeviceStatsInQueryUniqueDeviceStat `json:"AppDeviceStats" xml:"AppDeviceStats"` }
QueryUniqueDeviceStatResponse is the response struct for api QueryUniqueDeviceStat
func CreateQueryUniqueDeviceStatResponse ¶
func CreateQueryUniqueDeviceStatResponse() (response *QueryUniqueDeviceStatResponse)
CreateQueryUniqueDeviceStatResponse creates a response to parse from QueryUniqueDeviceStat response
type RemoveTagRequest ¶
type RemoveTagRequest struct { *requests.RpcRequest AppKey requests.Integer `position:"Query" name:"AppKey"` TagName string `position:"Query" name:"TagName"` }
RemoveTagRequest is the request struct for api RemoveTag
func CreateRemoveTagRequest ¶
func CreateRemoveTagRequest() (request *RemoveTagRequest)
CreateRemoveTagRequest creates a request to invoke RemoveTag API
type RemoveTagResponse ¶
type RemoveTagResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
RemoveTagResponse is the response struct for api RemoveTag
func CreateRemoveTagResponse ¶
func CreateRemoveTagResponse() (response *RemoveTagResponse)
CreateRemoveTagResponse creates a response to parse from RemoveTag response
type SummaryAppInfo ¶
type SummaryAppInfo struct { AppName string `json:"AppName" xml:"AppName"` AppKey int `json:"AppKey" xml:"AppKey"` }
SummaryAppInfo is a nested struct in push response
type SummaryAppInfos ¶
type SummaryAppInfos struct {
SummaryAppInfo []SummaryAppInfo `json:"SummaryAppInfo" xml:"SummaryAppInfo"`
}
SummaryAppInfos is a nested struct in push response
type TagInfo ¶
type TagInfo struct {
TagName string `json:"TagName" xml:"TagName"`
}
TagInfo is a nested struct in push response
type TagInfosInListTags ¶
type TagInfosInListTags struct {
TagInfo []TagInfo `json:"TagInfo" xml:"TagInfo"`
}
TagInfosInListTags is a nested struct in push response
type TagInfosInQueryTags ¶
type TagInfosInQueryTags struct {
TagInfo []TagInfo `json:"TagInfo" xml:"TagInfo"`
}
TagInfosInQueryTags is a nested struct in push response
type UnbindAliasRequest ¶
type UnbindAliasRequest struct { *requests.RpcRequest AppKey requests.Integer `position:"Query" name:"AppKey"` DeviceId string `position:"Query" name:"DeviceId"` AliasName string `position:"Query" name:"AliasName"` UnbindAll requests.Boolean `position:"Query" name:"UnbindAll"` }
UnbindAliasRequest is the request struct for api UnbindAlias
func CreateUnbindAliasRequest ¶
func CreateUnbindAliasRequest() (request *UnbindAliasRequest)
CreateUnbindAliasRequest creates a request to invoke UnbindAlias API
type UnbindAliasResponse ¶
type UnbindAliasResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
UnbindAliasResponse is the response struct for api UnbindAlias
func CreateUnbindAliasResponse ¶
func CreateUnbindAliasResponse() (response *UnbindAliasResponse)
CreateUnbindAliasResponse creates a response to parse from UnbindAlias response
type UnbindPhoneRequest ¶
type UnbindPhoneRequest struct { *requests.RpcRequest AppKey requests.Integer `position:"Query" name:"AppKey"` DeviceId string `position:"Query" name:"DeviceId"` }
UnbindPhoneRequest is the request struct for api UnbindPhone
func CreateUnbindPhoneRequest ¶
func CreateUnbindPhoneRequest() (request *UnbindPhoneRequest)
CreateUnbindPhoneRequest creates a request to invoke UnbindPhone API
type UnbindPhoneResponse ¶
type UnbindPhoneResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
UnbindPhoneResponse is the response struct for api UnbindPhone
func CreateUnbindPhoneResponse ¶
func CreateUnbindPhoneResponse() (response *UnbindPhoneResponse)
CreateUnbindPhoneResponse creates a response to parse from UnbindPhone response
type UnbindTagRequest ¶
type UnbindTagRequest struct { *requests.RpcRequest AppKey requests.Integer `position:"Query" name:"AppKey"` ClientKey string `position:"Query" name:"ClientKey"` KeyType string `position:"Query" name:"KeyType"` TagName string `position:"Query" name:"TagName"` }
UnbindTagRequest is the request struct for api UnbindTag
func CreateUnbindTagRequest ¶
func CreateUnbindTagRequest() (request *UnbindTagRequest)
CreateUnbindTagRequest creates a request to invoke UnbindTag API
type UnbindTagResponse ¶
type UnbindTagResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
UnbindTagResponse is the response struct for api UnbindTag
func CreateUnbindTagResponse ¶
func CreateUnbindTagResponse() (response *UnbindTagResponse)
CreateUnbindTagResponse creates a response to parse from UnbindTag response
Source Files ¶
- bind_alias.go
- bind_phone.go
- bind_tag.go
- cancel_push.go
- check_device.go
- check_devices.go
- client.go
- list_push_records.go
- list_summary_apps.go
- list_tags.go
- push.go
- push_message_toi_os.go
- push_notice_toi_os.go
- query_aliases.go
- query_device_info.go
- query_device_stat.go
- query_devices_by_account.go
- query_devices_by_alias.go
- query_push_list.go
- query_push_stat_by_app.go
- query_push_stat_by_msg.go
- query_tags.go
- query_unique_device_stat.go
- remove_tag.go
- struct_alias_info.go
- struct_alias_infos.go
- struct_app_device_stat.go
- struct_app_device_stats_in_query_device_stat.go
- struct_app_device_stats_in_query_unique_device_stat.go
- struct_app_push_stat.go
- struct_app_push_stats.go
- struct_device_check_info.go
- struct_device_check_infos.go
- struct_device_ids_in_query_devices_by_account.go
- struct_device_ids_in_query_devices_by_alias.go
- struct_device_info.go
- struct_push_message_info.go
- struct_push_message_infos_in_list_push_records.go
- struct_push_message_infos_in_query_push_list.go
- struct_push_stat.go
- struct_push_stats.go
- struct_summary_app_info.go
- struct_summary_app_infos.go
- struct_tag_info.go
- struct_tag_infos_in_list_tags.go
- struct_tag_infos_in_query_tags.go
- unbind_alias.go
- unbind_phone.go
- unbind_tag.go