jingbell

package
v1.7.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 29, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package jingbell 直播推广相关

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ShareRequest

type ShareRequest struct {
	// AdvertiserID 广告主userId
	AdvertiserID uint64 `json:"advertiser_id,omitempty"`
	// LiveUserID 主播ID
	LiveUserID string `json:"live_user_id,omitempty"`
	// JingBellUserID 小铃铛ID
	JingBellUserID string `json:"jing_bell_user_id,omitempty"`
	// TargetAccountIDs 推送目标 accountIds
	TargetAccountIDs []string `json:"target_account_ids,omitempty"`
}

ShareRequest 小铃铛推送 API Request

func (ShareRequest) Encode

func (r ShareRequest) Encode() []byte

Encode implement PostRequest interface

func (ShareRequest) Url

func (r ShareRequest) Url() string

Url implement PostRequest interface

type ShareResponse

type ShareResponse struct {
	// Result 1成功 非1失败
	Result int `json:"result,omitempty"`
	// Data 如果失败,则是失败信息
	Data string `json:"data,omitempty"`
}

ShareResponse 小铃铛推送 API Response

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL