Documentation ¶
Index ¶
- Variables
- type Device
- type OffPushMsg
- func (*OffPushMsg) Descriptor() ([]byte, []int)deprecated
- func (x *OffPushMsg) GetAppId() string
- func (x *OffPushMsg) GetChannelType() int32
- func (x *OffPushMsg) GetContent() string
- func (x *OffPushMsg) GetDevice() Device
- func (x *OffPushMsg) GetTarget() string
- func (x *OffPushMsg) GetTimeout() int64
- func (x *OffPushMsg) GetTitle() string
- func (x *OffPushMsg) GetToken() string
- func (*OffPushMsg) ProtoMessage()
- func (x *OffPushMsg) ProtoReflect() protoreflect.Message
- func (x *OffPushMsg) Reset()
- func (x *OffPushMsg) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Device_name = map[int32]string{ 0: "Android", 1: "IOS", } Device_value = map[string]int32{ "Android": 0, "IOS": 1, } )
Enum value maps for Device.
View Source
var File_api_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Device ¶
type Device int32
func (Device) Descriptor ¶
func (Device) Descriptor() protoreflect.EnumDescriptor
func (Device) EnumDescriptor
deprecated
func (Device) Number ¶
func (x Device) Number() protoreflect.EnumNumber
func (Device) Type ¶
func (Device) Type() protoreflect.EnumType
type OffPushMsg ¶
type OffPushMsg struct { AppId string `protobuf:"bytes,1,opt,name=appId,proto3" json:"appId,omitempty"` Device Device `protobuf:"varint,2,opt,name=device,proto3,enum=dtalk.offline_push.Device" json:"device,omitempty"` Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"` Content string `protobuf:"bytes,4,opt,name=content,proto3" json:"content,omitempty"` Token string `protobuf:"bytes,5,opt,name=token,proto3" json:"token,omitempty"` ChannelType int32 `protobuf:"varint,6,opt,name=channelType,proto3" json:"channelType,omitempty"` Target string `protobuf:"bytes,7,opt,name=target,proto3" json:"target,omitempty"` Timeout int64 `protobuf:"varint,8,opt,name=timeout,proto3" json:"timeout,omitempty"` // contains filtered or unexported fields }
record --> mq
func (*OffPushMsg) Descriptor
deprecated
func (*OffPushMsg) Descriptor() ([]byte, []int)
Deprecated: Use OffPushMsg.ProtoReflect.Descriptor instead.
func (*OffPushMsg) GetAppId ¶
func (x *OffPushMsg) GetAppId() string
func (*OffPushMsg) GetChannelType ¶
func (x *OffPushMsg) GetChannelType() int32
func (*OffPushMsg) GetContent ¶
func (x *OffPushMsg) GetContent() string
func (*OffPushMsg) GetDevice ¶
func (x *OffPushMsg) GetDevice() Device
func (*OffPushMsg) GetTarget ¶
func (x *OffPushMsg) GetTarget() string
func (*OffPushMsg) GetTimeout ¶
func (x *OffPushMsg) GetTimeout() int64
func (*OffPushMsg) GetTitle ¶
func (x *OffPushMsg) GetTitle() string
func (*OffPushMsg) GetToken ¶
func (x *OffPushMsg) GetToken() string
func (*OffPushMsg) ProtoMessage ¶
func (*OffPushMsg) ProtoMessage()
func (*OffPushMsg) ProtoReflect ¶
func (x *OffPushMsg) ProtoReflect() protoreflect.Message
func (*OffPushMsg) Reset ¶
func (x *OffPushMsg) Reset()
func (*OffPushMsg) String ¶
func (x *OffPushMsg) String() string
Click to show internal directories.
Click to hide internal directories.