Documentation ¶
Index ¶
- Variables
- func RegisterPushingServer(s *grpc.Server, srv PushingServer)
- type AlertingPush
- func (*AlertingPush) Descriptor() ([]byte, []int)
- func (this *AlertingPush) Equal(that interface{}) bool
- func (m *AlertingPush) GetAlertBody() isAlertingPush_AlertBody
- func (m *AlertingPush) GetAlertTitle() isAlertingPush_AlertTitle
- func (m *AlertingPush) GetBadge() int32
- func (m *AlertingPush) GetCategory() *types.StringValue
- func (m *AlertingPush) GetLocAlertBody() *Localizeable
- func (m *AlertingPush) GetLocAlertTitle() *Localizeable
- func (m *AlertingPush) GetMid() *types.StringValue
- func (m *AlertingPush) GetPeer() *Peer
- func (m *AlertingPush) GetSimpleAlertBody() string
- func (m *AlertingPush) GetSimpleAlertTitle() string
- func (this *AlertingPush) GoString() string
- func (m *AlertingPush) Marshal() (dAtA []byte, err error)
- func (m *AlertingPush) MarshalTo(dAtA []byte) (int, error)
- func (m *AlertingPush) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AlertingPush) ProtoMessage()
- func (m *AlertingPush) Reset()
- func (m *AlertingPush) Size() (n int)
- func (this *AlertingPush) String() string
- func (m *AlertingPush) Unmarshal(dAtA []byte) error
- func (m *AlertingPush) XXX_DiscardUnknown()
- func (m *AlertingPush) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AlertingPush) XXX_Merge(src proto.Message)
- func (*AlertingPush) XXX_OneofWrappers() []interface{}
- func (m *AlertingPush) XXX_Size() int
- func (m *AlertingPush) XXX_Unmarshal(b []byte) error
- type AlertingPush_LocAlertBody
- func (this *AlertingPush_LocAlertBody) Equal(that interface{}) bool
- func (this *AlertingPush_LocAlertBody) GoString() string
- func (m *AlertingPush_LocAlertBody) MarshalTo(dAtA []byte) (int, error)
- func (m *AlertingPush_LocAlertBody) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (m *AlertingPush_LocAlertBody) Size() (n int)
- func (this *AlertingPush_LocAlertBody) String() string
- type AlertingPush_LocAlertTitle
- func (this *AlertingPush_LocAlertTitle) Equal(that interface{}) bool
- func (this *AlertingPush_LocAlertTitle) GoString() string
- func (m *AlertingPush_LocAlertTitle) MarshalTo(dAtA []byte) (int, error)
- func (m *AlertingPush_LocAlertTitle) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (m *AlertingPush_LocAlertTitle) Size() (n int)
- func (this *AlertingPush_LocAlertTitle) String() string
- type AlertingPush_SimpleAlertBody
- func (this *AlertingPush_SimpleAlertBody) Equal(that interface{}) bool
- func (this *AlertingPush_SimpleAlertBody) GoString() string
- func (m *AlertingPush_SimpleAlertBody) MarshalTo(dAtA []byte) (int, error)
- func (m *AlertingPush_SimpleAlertBody) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (m *AlertingPush_SimpleAlertBody) Size() (n int)
- func (this *AlertingPush_SimpleAlertBody) String() string
- type AlertingPush_SimpleAlertTitle
- func (this *AlertingPush_SimpleAlertTitle) Equal(that interface{}) bool
- func (this *AlertingPush_SimpleAlertTitle) GoString() string
- func (m *AlertingPush_SimpleAlertTitle) MarshalTo(dAtA []byte) (int, error)
- func (m *AlertingPush_SimpleAlertTitle) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (m *AlertingPush_SimpleAlertTitle) Size() (n int)
- func (this *AlertingPush_SimpleAlertTitle) String() string
- type DeviceIdList
- func (*DeviceIdList) Descriptor() ([]byte, []int)
- func (this *DeviceIdList) Equal(that interface{}) bool
- func (m *DeviceIdList) GetDeviceIds() []string
- func (this *DeviceIdList) GoString() string
- func (m *DeviceIdList) Marshal() (dAtA []byte, err error)
- func (m *DeviceIdList) MarshalTo(dAtA []byte) (int, error)
- func (m *DeviceIdList) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DeviceIdList) ProtoMessage()
- func (m *DeviceIdList) Reset()
- func (m *DeviceIdList) Size() (n int)
- func (this *DeviceIdList) String() string
- func (m *DeviceIdList) Unmarshal(dAtA []byte) error
- func (m *DeviceIdList) XXX_DiscardUnknown()
- func (m *DeviceIdList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeviceIdList) XXX_Merge(src proto.Message)
- func (m *DeviceIdList) XXX_Size() int
- func (m *DeviceIdList) XXX_Unmarshal(b []byte) error
- type EncryptedPush
- func (*EncryptedPush) Descriptor() ([]byte, []int)
- func (this *EncryptedPush) Equal(that interface{}) bool
- func (m *EncryptedPush) GetEncryptedData() []byte
- func (m *EncryptedPush) GetNonce() int64
- func (m *EncryptedPush) GetPublicAlertingPush() *AlertingPush
- func (this *EncryptedPush) GoString() string
- func (m *EncryptedPush) Marshal() (dAtA []byte, err error)
- func (m *EncryptedPush) MarshalTo(dAtA []byte) (int, error)
- func (m *EncryptedPush) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EncryptedPush) ProtoMessage()
- func (m *EncryptedPush) Reset()
- func (m *EncryptedPush) Size() (n int)
- func (this *EncryptedPush) String() string
- func (m *EncryptedPush) Unmarshal(dAtA []byte) error
- func (m *EncryptedPush) XXX_DiscardUnknown()
- func (m *EncryptedPush) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EncryptedPush) XXX_Merge(src proto.Message)
- func (m *EncryptedPush) XXX_Size() int
- func (m *EncryptedPush) XXX_Unmarshal(b []byte) error
- type Localizeable
- func (*Localizeable) Descriptor() ([]byte, []int)
- func (this *Localizeable) Equal(that interface{}) bool
- func (m *Localizeable) GetLocArgs() []string
- func (m *Localizeable) GetLocKey() string
- func (this *Localizeable) GoString() string
- func (m *Localizeable) Marshal() (dAtA []byte, err error)
- func (m *Localizeable) MarshalTo(dAtA []byte) (int, error)
- func (m *Localizeable) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Localizeable) ProtoMessage()
- func (m *Localizeable) Reset()
- func (m *Localizeable) Size() (n int)
- func (this *Localizeable) String() string
- func (m *Localizeable) Unmarshal(dAtA []byte) error
- func (m *Localizeable) XXX_DiscardUnknown()
- func (m *Localizeable) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Localizeable) XXX_Merge(src proto.Message)
- func (m *Localizeable) XXX_Size() int
- func (m *Localizeable) XXX_Unmarshal(b []byte) error
- type MergeCallModel
- func (*MergeCallModel) Descriptor() ([]byte, []int)
- func (this *MergeCallModel) Equal(that interface{}) bool
- func (m *MergeCallModel) GetKey() string
- func (m *MergeCallModel) GetMerge() bool
- func (this *MergeCallModel) GoString() string
- func (m *MergeCallModel) Marshal() (dAtA []byte, err error)
- func (m *MergeCallModel) MarshalTo(dAtA []byte) (int, error)
- func (m *MergeCallModel) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MergeCallModel) ProtoMessage()
- func (m *MergeCallModel) Reset()
- func (m *MergeCallModel) Size() (n int)
- func (this *MergeCallModel) String() string
- func (m *MergeCallModel) Unmarshal(dAtA []byte) error
- func (m *MergeCallModel) XXX_DiscardUnknown()
- func (m *MergeCallModel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MergeCallModel) XXX_Merge(src proto.Message)
- func (m *MergeCallModel) XXX_Size() int
- func (m *MergeCallModel) XXX_Unmarshal(b []byte) error
- type OutPeer
- func (*OutPeer) Descriptor() ([]byte, []int)
- func (this *OutPeer) Equal(that interface{}) bool
- func (m *OutPeer) GetAccessHash() int64
- func (m *OutPeer) GetId() int32
- func (m *OutPeer) GetStrId() string
- func (m *OutPeer) GetType() PeerType
- func (this *OutPeer) GoString() string
- func (m *OutPeer) Marshal() (dAtA []byte, err error)
- func (m *OutPeer) MarshalTo(dAtA []byte) (int, error)
- func (m *OutPeer) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*OutPeer) ProtoMessage()
- func (m *OutPeer) Reset()
- func (m *OutPeer) Size() (n int)
- func (this *OutPeer) String() string
- func (m *OutPeer) Unmarshal(dAtA []byte) error
- func (m *OutPeer) XXX_DiscardUnknown()
- func (m *OutPeer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OutPeer) XXX_Merge(src proto.Message)
- func (m *OutPeer) XXX_Size() int
- func (m *OutPeer) XXX_Unmarshal(b []byte) error
- type Peer
- func (*Peer) Descriptor() ([]byte, []int)
- func (this *Peer) Equal(that interface{}) bool
- func (m *Peer) GetId() int32
- func (m *Peer) GetStrId() string
- func (m *Peer) GetType() PeerType
- func (this *Peer) GoString() string
- func (m *Peer) Marshal() (dAtA []byte, err error)
- func (m *Peer) MarshalTo(dAtA []byte) (int, error)
- func (m *Peer) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Peer) ProtoMessage()
- func (m *Peer) Reset()
- func (m *Peer) Size() (n int)
- func (this *Peer) String() string
- func (m *Peer) Unmarshal(dAtA []byte) error
- func (m *Peer) XXX_DiscardUnknown()
- func (m *Peer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Peer) XXX_Merge(src proto.Message)
- func (m *Peer) XXX_Size() int
- func (m *Peer) XXX_Unmarshal(b []byte) error
- type PeerType
- type PingRequest
- func (*PingRequest) Descriptor() ([]byte, []int)
- func (this *PingRequest) Equal(that interface{}) bool
- func (this *PingRequest) GoString() string
- func (m *PingRequest) Marshal() (dAtA []byte, err error)
- func (m *PingRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *PingRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PingRequest) ProtoMessage()
- func (m *PingRequest) Reset()
- func (m *PingRequest) Size() (n int)
- func (this *PingRequest) String() string
- func (m *PingRequest) Unmarshal(dAtA []byte) error
- func (m *PingRequest) XXX_DiscardUnknown()
- func (m *PingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PingRequest) XXX_Merge(src proto.Message)
- func (m *PingRequest) XXX_Size() int
- func (m *PingRequest) XXX_Unmarshal(b []byte) error
- type PongResponse
- func (*PongResponse) Descriptor() ([]byte, []int)
- func (this *PongResponse) Equal(that interface{}) bool
- func (this *PongResponse) GoString() string
- func (m *PongResponse) Marshal() (dAtA []byte, err error)
- func (m *PongResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *PongResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PongResponse) ProtoMessage()
- func (m *PongResponse) Reset()
- func (m *PongResponse) Size() (n int)
- func (this *PongResponse) String() string
- func (m *PongResponse) Unmarshal(dAtA []byte) error
- func (m *PongResponse) XXX_DiscardUnknown()
- func (m *PongResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PongResponse) XXX_Merge(src proto.Message)
- func (m *PongResponse) XXX_Size() int
- func (m *PongResponse) XXX_Unmarshal(b []byte) error
- type Push
- func (*Push) Descriptor() ([]byte, []int)
- func (this *Push) Equal(that interface{}) bool
- func (m *Push) GetBody() *PushBody
- func (m *Push) GetCorrelationId() string
- func (m *Push) GetDestinations() map[string]*DeviceIdList
- func (this *Push) GoString() string
- func (m *Push) Marshal() (dAtA []byte, err error)
- func (m *Push) MarshalTo(dAtA []byte) (int, error)
- func (m *Push) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Push) ProtoMessage()
- func (m *Push) Reset()
- func (m *Push) Size() (n int)
- func (this *Push) String() string
- func (m *Push) Unmarshal(dAtA []byte) error
- func (m *Push) XXX_DiscardUnknown()
- func (m *Push) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Push) XXX_Merge(src proto.Message)
- func (m *Push) XXX_Size() int
- func (m *Push) XXX_Unmarshal(b []byte) error
- type PushBody
- func (*PushBody) Descriptor() ([]byte, []int)
- func (this *PushBody) Equal(that interface{}) bool
- func (m *PushBody) GetAlertingPush() *AlertingPush
- func (m *PushBody) GetBody() isPushBody_Body
- func (m *PushBody) GetCollapseKey() string
- func (m *PushBody) GetEncryptedPush() *EncryptedPush
- func (m *PushBody) GetReadPush() *ReadPush
- func (m *PushBody) GetSeq() int32
- func (m *PushBody) GetSilentPush() *SilentPush
- func (m *PushBody) GetTimeToLive() int32
- func (m *PushBody) GetVoipPush() *VoipPush
- func (this *PushBody) GoString() string
- func (m *PushBody) Marshal() (dAtA []byte, err error)
- func (m *PushBody) MarshalTo(dAtA []byte) (int, error)
- func (m *PushBody) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PushBody) ProtoMessage()
- func (m *PushBody) Reset()
- func (m *PushBody) Size() (n int)
- func (this *PushBody) String() string
- func (m *PushBody) Unmarshal(dAtA []byte) error
- func (m *PushBody) XXX_DiscardUnknown()
- func (m *PushBody) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PushBody) XXX_Merge(src proto.Message)
- func (*PushBody) XXX_OneofWrappers() []interface{}
- func (m *PushBody) XXX_Size() int
- func (m *PushBody) XXX_Unmarshal(b []byte) error
- type PushBody_AlertingPush
- func (this *PushBody_AlertingPush) Equal(that interface{}) bool
- func (this *PushBody_AlertingPush) GoString() string
- func (m *PushBody_AlertingPush) MarshalTo(dAtA []byte) (int, error)
- func (m *PushBody_AlertingPush) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (m *PushBody_AlertingPush) Size() (n int)
- func (this *PushBody_AlertingPush) String() string
- type PushBody_EncryptedPush
- func (this *PushBody_EncryptedPush) Equal(that interface{}) bool
- func (this *PushBody_EncryptedPush) GoString() string
- func (m *PushBody_EncryptedPush) MarshalTo(dAtA []byte) (int, error)
- func (m *PushBody_EncryptedPush) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (m *PushBody_EncryptedPush) Size() (n int)
- func (this *PushBody_EncryptedPush) String() string
- type PushBody_ReadPush
- func (this *PushBody_ReadPush) Equal(that interface{}) bool
- func (this *PushBody_ReadPush) GoString() string
- func (m *PushBody_ReadPush) MarshalTo(dAtA []byte) (int, error)
- func (m *PushBody_ReadPush) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (m *PushBody_ReadPush) Size() (n int)
- func (this *PushBody_ReadPush) String() string
- type PushBody_SilentPush
- func (this *PushBody_SilentPush) Equal(that interface{}) bool
- func (this *PushBody_SilentPush) GoString() string
- func (m *PushBody_SilentPush) MarshalTo(dAtA []byte) (int, error)
- func (m *PushBody_SilentPush) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (m *PushBody_SilentPush) Size() (n int)
- func (this *PushBody_SilentPush) String() string
- type PushBody_VoipPush
- func (this *PushBody_VoipPush) Equal(that interface{}) bool
- func (this *PushBody_VoipPush) GoString() string
- func (m *PushBody_VoipPush) MarshalTo(dAtA []byte) (int, error)
- func (m *PushBody_VoipPush) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (m *PushBody_VoipPush) Size() (n int)
- func (this *PushBody_VoipPush) String() string
- type PushingClient
- type PushingServer
- type Pushing_PushStreamClient
- type Pushing_PushStreamServer
- type ReadPush
- func (*ReadPush) Descriptor() ([]byte, []int)
- func (this *ReadPush) Equal(that interface{}) bool
- func (m *ReadPush) GetLastReadDate() int64
- func (m *ReadPush) GetPeer() *Peer
- func (this *ReadPush) GoString() string
- func (m *ReadPush) Marshal() (dAtA []byte, err error)
- func (m *ReadPush) MarshalTo(dAtA []byte) (int, error)
- func (m *ReadPush) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ReadPush) ProtoMessage()
- func (m *ReadPush) Reset()
- func (m *ReadPush) Size() (n int)
- func (this *ReadPush) String() string
- func (m *ReadPush) Unmarshal(dAtA []byte) error
- func (m *ReadPush) XXX_DiscardUnknown()
- func (m *ReadPush) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReadPush) XXX_Merge(src proto.Message)
- func (m *ReadPush) XXX_Size() int
- func (m *ReadPush) XXX_Unmarshal(b []byte) error
- type Response
- func (*Response) Descriptor() ([]byte, []int)
- func (this *Response) Equal(that interface{}) bool
- func (m *Response) GetProjectInvalidations() map[string]*DeviceIdList
- func (this *Response) GoString() string
- func (m *Response) Marshal() (dAtA []byte, err error)
- func (m *Response) MarshalTo(dAtA []byte) (int, error)
- func (m *Response) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Response) ProtoMessage()
- func (m *Response) Reset()
- func (m *Response) Size() (n int)
- func (this *Response) String() string
- func (m *Response) Unmarshal(dAtA []byte) error
- func (m *Response) XXX_DiscardUnknown()
- func (m *Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Response) XXX_Merge(src proto.Message)
- func (m *Response) XXX_Size() int
- func (m *Response) XXX_Unmarshal(b []byte) error
- type SilentPush
- func (*SilentPush) Descriptor() ([]byte, []int)
- func (this *SilentPush) Equal(that interface{}) bool
- func (this *SilentPush) GoString() string
- func (m *SilentPush) Marshal() (dAtA []byte, err error)
- func (m *SilentPush) MarshalTo(dAtA []byte) (int, error)
- func (m *SilentPush) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SilentPush) ProtoMessage()
- func (m *SilentPush) Reset()
- func (m *SilentPush) Size() (n int)
- func (this *SilentPush) String() string
- func (m *SilentPush) Unmarshal(dAtA []byte) error
- func (m *SilentPush) XXX_DiscardUnknown()
- func (m *SilentPush) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SilentPush) XXX_Merge(src proto.Message)
- func (m *SilentPush) XXX_Size() int
- func (m *SilentPush) XXX_Unmarshal(b []byte) error
- type UnimplementedPushingServer
- type VoipPush
- func (*VoipPush) Descriptor() ([]byte, []int)
- func (this *VoipPush) Equal(that interface{}) bool
- func (m *VoipPush) GetAttemptIndex() int32
- func (m *VoipPush) GetCallId() int64
- func (m *VoipPush) GetCallIdStr() string
- func (m *VoipPush) GetDisplayName() string
- func (m *VoipPush) GetDisposalReason() string
- func (m *VoipPush) GetEndpoint() string
- func (m *VoipPush) GetEventBusId() string
- func (m *VoipPush) GetMerge() *MergeCallModel
- func (m *VoipPush) GetOutPeer() *OutPeer
- func (m *VoipPush) GetPeer() *Peer
- func (m *VoipPush) GetToken() string
- func (m *VoipPush) GetUpdateType() string
- func (m *VoipPush) GetVideo() bool
- func (this *VoipPush) GoString() string
- func (m *VoipPush) Marshal() (dAtA []byte, err error)
- func (m *VoipPush) MarshalTo(dAtA []byte) (int, error)
- func (m *VoipPush) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*VoipPush) ProtoMessage()
- func (m *VoipPush) Reset()
- func (m *VoipPush) Size() (n int)
- func (this *VoipPush) String() string
- func (m *VoipPush) Unmarshal(dAtA []byte) error
- func (m *VoipPush) XXX_DiscardUnknown()
- func (m *VoipPush) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VoipPush) XXX_Merge(src proto.Message)
- func (m *VoipPush) XXX_Size() int
- func (m *VoipPush) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthPushService = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowPushService = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupPushService = fmt.Errorf("proto: unexpected end of group") )
View Source
var PeerType_name = map[int32]string{
0: "Private",
1: "Group",
2: "SIP",
}
View Source
var PeerType_value = map[string]int32{
"Private": 0,
"Group": 1,
"SIP": 2,
}
Functions ¶
func RegisterPushingServer ¶
func RegisterPushingServer(s *grpc.Server, srv PushingServer)
Types ¶
type AlertingPush ¶
type AlertingPush struct { // Types that are valid to be assigned to AlertBody: // *AlertingPush_LocAlertBody // *AlertingPush_SimpleAlertBody AlertBody isAlertingPush_AlertBody `protobuf_oneof:"alert_body"` // Types that are valid to be assigned to AlertTitle: // *AlertingPush_LocAlertTitle // *AlertingPush_SimpleAlertTitle AlertTitle isAlertingPush_AlertTitle `protobuf_oneof:"alert_title"` Badge int32 `protobuf:"varint,6,opt,name=badge,proto3" json:"badge,omitempty"` Peer *Peer `protobuf:"bytes,7,opt,name=peer,proto3" json:"peer,omitempty"` Mid *types.StringValue `protobuf:"bytes,8,opt,name=mid,proto3" json:"mid,omitempty"` Category *types.StringValue `protobuf:"bytes,9,opt,name=category,proto3" json:"category,omitempty"` }
func (*AlertingPush) Descriptor ¶
func (*AlertingPush) Descriptor() ([]byte, []int)
func (*AlertingPush) Equal ¶
func (this *AlertingPush) Equal(that interface{}) bool
func (*AlertingPush) GetAlertBody ¶
func (m *AlertingPush) GetAlertBody() isAlertingPush_AlertBody
func (*AlertingPush) GetAlertTitle ¶
func (m *AlertingPush) GetAlertTitle() isAlertingPush_AlertTitle
func (*AlertingPush) GetBadge ¶
func (m *AlertingPush) GetBadge() int32
func (*AlertingPush) GetCategory ¶
func (m *AlertingPush) GetCategory() *types.StringValue
func (*AlertingPush) GetLocAlertBody ¶
func (m *AlertingPush) GetLocAlertBody() *Localizeable
func (*AlertingPush) GetLocAlertTitle ¶
func (m *AlertingPush) GetLocAlertTitle() *Localizeable
func (*AlertingPush) GetMid ¶
func (m *AlertingPush) GetMid() *types.StringValue
func (*AlertingPush) GetPeer ¶
func (m *AlertingPush) GetPeer() *Peer
func (*AlertingPush) GetSimpleAlertBody ¶
func (m *AlertingPush) GetSimpleAlertBody() string
func (*AlertingPush) GetSimpleAlertTitle ¶
func (m *AlertingPush) GetSimpleAlertTitle() string
func (*AlertingPush) GoString ¶
func (this *AlertingPush) GoString() string
func (*AlertingPush) Marshal ¶
func (m *AlertingPush) Marshal() (dAtA []byte, err error)
func (*AlertingPush) MarshalToSizedBuffer ¶ added in v1.0.4
func (m *AlertingPush) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AlertingPush) ProtoMessage ¶
func (*AlertingPush) ProtoMessage()
func (*AlertingPush) Reset ¶
func (m *AlertingPush) Reset()
func (*AlertingPush) Size ¶
func (m *AlertingPush) Size() (n int)
func (*AlertingPush) String ¶
func (this *AlertingPush) String() string
func (*AlertingPush) Unmarshal ¶
func (m *AlertingPush) Unmarshal(dAtA []byte) error
func (*AlertingPush) XXX_DiscardUnknown ¶
func (m *AlertingPush) XXX_DiscardUnknown()
func (*AlertingPush) XXX_Marshal ¶
func (m *AlertingPush) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AlertingPush) XXX_Merge ¶
func (m *AlertingPush) XXX_Merge(src proto.Message)
func (*AlertingPush) XXX_OneofWrappers ¶ added in v1.0.4
func (*AlertingPush) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*AlertingPush) XXX_Size ¶
func (m *AlertingPush) XXX_Size() int
func (*AlertingPush) XXX_Unmarshal ¶
func (m *AlertingPush) XXX_Unmarshal(b []byte) error
type AlertingPush_LocAlertBody ¶
type AlertingPush_LocAlertBody struct {
LocAlertBody *Localizeable `protobuf:"bytes,1,opt,name=loc_alert_body,json=locAlertBody,proto3,oneof" json:"loc_alert_body,omitempty"`
}
func (*AlertingPush_LocAlertBody) Equal ¶
func (this *AlertingPush_LocAlertBody) Equal(that interface{}) bool
func (*AlertingPush_LocAlertBody) GoString ¶
func (this *AlertingPush_LocAlertBody) GoString() string
func (*AlertingPush_LocAlertBody) MarshalTo ¶
func (m *AlertingPush_LocAlertBody) MarshalTo(dAtA []byte) (int, error)
func (*AlertingPush_LocAlertBody) MarshalToSizedBuffer ¶ added in v1.0.4
func (m *AlertingPush_LocAlertBody) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AlertingPush_LocAlertBody) Size ¶
func (m *AlertingPush_LocAlertBody) Size() (n int)
func (*AlertingPush_LocAlertBody) String ¶
func (this *AlertingPush_LocAlertBody) String() string
type AlertingPush_LocAlertTitle ¶
type AlertingPush_LocAlertTitle struct {
LocAlertTitle *Localizeable `protobuf:"bytes,3,opt,name=loc_alert_title,json=locAlertTitle,proto3,oneof" json:"loc_alert_title,omitempty"`
}
func (*AlertingPush_LocAlertTitle) Equal ¶
func (this *AlertingPush_LocAlertTitle) Equal(that interface{}) bool
func (*AlertingPush_LocAlertTitle) GoString ¶
func (this *AlertingPush_LocAlertTitle) GoString() string
func (*AlertingPush_LocAlertTitle) MarshalTo ¶
func (m *AlertingPush_LocAlertTitle) MarshalTo(dAtA []byte) (int, error)
func (*AlertingPush_LocAlertTitle) MarshalToSizedBuffer ¶ added in v1.0.4
func (m *AlertingPush_LocAlertTitle) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AlertingPush_LocAlertTitle) Size ¶
func (m *AlertingPush_LocAlertTitle) Size() (n int)
func (*AlertingPush_LocAlertTitle) String ¶
func (this *AlertingPush_LocAlertTitle) String() string
type AlertingPush_SimpleAlertBody ¶
type AlertingPush_SimpleAlertBody struct {
SimpleAlertBody string `protobuf:"bytes,2,opt,name=simple_alert_body,json=simpleAlertBody,proto3,oneof" json:"simple_alert_body,omitempty"`
}
func (*AlertingPush_SimpleAlertBody) Equal ¶
func (this *AlertingPush_SimpleAlertBody) Equal(that interface{}) bool
func (*AlertingPush_SimpleAlertBody) GoString ¶
func (this *AlertingPush_SimpleAlertBody) GoString() string
func (*AlertingPush_SimpleAlertBody) MarshalTo ¶
func (m *AlertingPush_SimpleAlertBody) MarshalTo(dAtA []byte) (int, error)
func (*AlertingPush_SimpleAlertBody) MarshalToSizedBuffer ¶ added in v1.0.4
func (m *AlertingPush_SimpleAlertBody) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AlertingPush_SimpleAlertBody) Size ¶
func (m *AlertingPush_SimpleAlertBody) Size() (n int)
func (*AlertingPush_SimpleAlertBody) String ¶
func (this *AlertingPush_SimpleAlertBody) String() string
type AlertingPush_SimpleAlertTitle ¶
type AlertingPush_SimpleAlertTitle struct {
SimpleAlertTitle string `protobuf:"bytes,4,opt,name=simple_alert_title,json=simpleAlertTitle,proto3,oneof" json:"simple_alert_title,omitempty"`
}
func (*AlertingPush_SimpleAlertTitle) Equal ¶
func (this *AlertingPush_SimpleAlertTitle) Equal(that interface{}) bool
func (*AlertingPush_SimpleAlertTitle) GoString ¶
func (this *AlertingPush_SimpleAlertTitle) GoString() string
func (*AlertingPush_SimpleAlertTitle) MarshalTo ¶
func (m *AlertingPush_SimpleAlertTitle) MarshalTo(dAtA []byte) (int, error)
func (*AlertingPush_SimpleAlertTitle) MarshalToSizedBuffer ¶ added in v1.0.4
func (m *AlertingPush_SimpleAlertTitle) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AlertingPush_SimpleAlertTitle) Size ¶
func (m *AlertingPush_SimpleAlertTitle) Size() (n int)
func (*AlertingPush_SimpleAlertTitle) String ¶
func (this *AlertingPush_SimpleAlertTitle) String() string
type DeviceIdList ¶
type DeviceIdList struct {
DeviceIds []string `protobuf:"bytes,1,rep,name=device_ids,json=deviceIds,proto3" json:"device_ids,omitempty"`
}
func (*DeviceIdList) Descriptor ¶
func (*DeviceIdList) Descriptor() ([]byte, []int)
func (*DeviceIdList) Equal ¶
func (this *DeviceIdList) Equal(that interface{}) bool
func (*DeviceIdList) GetDeviceIds ¶
func (m *DeviceIdList) GetDeviceIds() []string
func (*DeviceIdList) GoString ¶
func (this *DeviceIdList) GoString() string
func (*DeviceIdList) Marshal ¶
func (m *DeviceIdList) Marshal() (dAtA []byte, err error)
func (*DeviceIdList) MarshalToSizedBuffer ¶ added in v1.0.4
func (m *DeviceIdList) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DeviceIdList) ProtoMessage ¶
func (*DeviceIdList) ProtoMessage()
func (*DeviceIdList) Reset ¶
func (m *DeviceIdList) Reset()
func (*DeviceIdList) Size ¶
func (m *DeviceIdList) Size() (n int)
func (*DeviceIdList) String ¶
func (this *DeviceIdList) String() string
func (*DeviceIdList) Unmarshal ¶
func (m *DeviceIdList) Unmarshal(dAtA []byte) error
func (*DeviceIdList) XXX_DiscardUnknown ¶
func (m *DeviceIdList) XXX_DiscardUnknown()
func (*DeviceIdList) XXX_Marshal ¶
func (m *DeviceIdList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeviceIdList) XXX_Merge ¶
func (m *DeviceIdList) XXX_Merge(src proto.Message)
func (*DeviceIdList) XXX_Size ¶
func (m *DeviceIdList) XXX_Size() int
func (*DeviceIdList) XXX_Unmarshal ¶
func (m *DeviceIdList) XXX_Unmarshal(b []byte) error
type EncryptedPush ¶
type EncryptedPush struct { PublicAlertingPush *AlertingPush `protobuf:"bytes,1,opt,name=public_alerting_push,json=publicAlertingPush,proto3" json:"public_alerting_push,omitempty"` EncryptedData []byte `protobuf:"bytes,2,opt,name=encrypted_data,json=encryptedData,proto3" json:"encrypted_data,omitempty"` Nonce int64 `protobuf:"varint,3,opt,name=nonce,proto3" json:"nonce,omitempty"` }
func (*EncryptedPush) Descriptor ¶
func (*EncryptedPush) Descriptor() ([]byte, []int)
func (*EncryptedPush) Equal ¶
func (this *EncryptedPush) Equal(that interface{}) bool
func (*EncryptedPush) GetEncryptedData ¶
func (m *EncryptedPush) GetEncryptedData() []byte
func (*EncryptedPush) GetNonce ¶
func (m *EncryptedPush) GetNonce() int64
func (*EncryptedPush) GetPublicAlertingPush ¶
func (m *EncryptedPush) GetPublicAlertingPush() *AlertingPush
func (*EncryptedPush) GoString ¶
func (this *EncryptedPush) GoString() string
func (*EncryptedPush) Marshal ¶
func (m *EncryptedPush) Marshal() (dAtA []byte, err error)
func (*EncryptedPush) MarshalToSizedBuffer ¶ added in v1.0.4
func (m *EncryptedPush) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EncryptedPush) ProtoMessage ¶
func (*EncryptedPush) ProtoMessage()
func (*EncryptedPush) Reset ¶
func (m *EncryptedPush) Reset()
func (*EncryptedPush) Size ¶
func (m *EncryptedPush) Size() (n int)
func (*EncryptedPush) String ¶
func (this *EncryptedPush) String() string
func (*EncryptedPush) Unmarshal ¶
func (m *EncryptedPush) Unmarshal(dAtA []byte) error
func (*EncryptedPush) XXX_DiscardUnknown ¶
func (m *EncryptedPush) XXX_DiscardUnknown()
func (*EncryptedPush) XXX_Marshal ¶
func (m *EncryptedPush) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EncryptedPush) XXX_Merge ¶
func (m *EncryptedPush) XXX_Merge(src proto.Message)
func (*EncryptedPush) XXX_Size ¶
func (m *EncryptedPush) XXX_Size() int
func (*EncryptedPush) XXX_Unmarshal ¶
func (m *EncryptedPush) XXX_Unmarshal(b []byte) error
type Localizeable ¶
type Localizeable struct { LocKey string `protobuf:"bytes,1,opt,name=loc_key,json=locKey,proto3" json:"loc_key,omitempty"` LocArgs []string `protobuf:"bytes,2,rep,name=loc_args,json=locArgs,proto3" json:"loc_args,omitempty"` }
func (*Localizeable) Descriptor ¶
func (*Localizeable) Descriptor() ([]byte, []int)
func (*Localizeable) Equal ¶
func (this *Localizeable) Equal(that interface{}) bool
func (*Localizeable) GetLocArgs ¶
func (m *Localizeable) GetLocArgs() []string
func (*Localizeable) GetLocKey ¶
func (m *Localizeable) GetLocKey() string
func (*Localizeable) GoString ¶
func (this *Localizeable) GoString() string
func (*Localizeable) Marshal ¶
func (m *Localizeable) Marshal() (dAtA []byte, err error)
func (*Localizeable) MarshalToSizedBuffer ¶ added in v1.0.4
func (m *Localizeable) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Localizeable) ProtoMessage ¶
func (*Localizeable) ProtoMessage()
func (*Localizeable) Reset ¶
func (m *Localizeable) Reset()
func (*Localizeable) Size ¶
func (m *Localizeable) Size() (n int)
func (*Localizeable) String ¶
func (this *Localizeable) String() string
func (*Localizeable) Unmarshal ¶
func (m *Localizeable) Unmarshal(dAtA []byte) error
func (*Localizeable) XXX_DiscardUnknown ¶
func (m *Localizeable) XXX_DiscardUnknown()
func (*Localizeable) XXX_Marshal ¶
func (m *Localizeable) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Localizeable) XXX_Merge ¶
func (m *Localizeable) XXX_Merge(src proto.Message)
func (*Localizeable) XXX_Size ¶
func (m *Localizeable) XXX_Size() int
func (*Localizeable) XXX_Unmarshal ¶
func (m *Localizeable) XXX_Unmarshal(b []byte) error
type MergeCallModel ¶ added in v1.0.7
type MergeCallModel struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Merge bool `protobuf:"varint,2,opt,name=merge,proto3" json:"merge,omitempty"` }
Call merge rule
func (*MergeCallModel) Descriptor ¶ added in v1.0.7
func (*MergeCallModel) Descriptor() ([]byte, []int)
func (*MergeCallModel) Equal ¶ added in v1.0.7
func (this *MergeCallModel) Equal(that interface{}) bool
func (*MergeCallModel) GetKey ¶ added in v1.0.7
func (m *MergeCallModel) GetKey() string
func (*MergeCallModel) GetMerge ¶ added in v1.0.7
func (m *MergeCallModel) GetMerge() bool
func (*MergeCallModel) GoString ¶ added in v1.0.7
func (this *MergeCallModel) GoString() string
func (*MergeCallModel) Marshal ¶ added in v1.0.7
func (m *MergeCallModel) Marshal() (dAtA []byte, err error)
func (*MergeCallModel) MarshalTo ¶ added in v1.0.7
func (m *MergeCallModel) MarshalTo(dAtA []byte) (int, error)
func (*MergeCallModel) MarshalToSizedBuffer ¶ added in v1.0.7
func (m *MergeCallModel) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MergeCallModel) ProtoMessage ¶ added in v1.0.7
func (*MergeCallModel) ProtoMessage()
func (*MergeCallModel) Reset ¶ added in v1.0.7
func (m *MergeCallModel) Reset()
func (*MergeCallModel) Size ¶ added in v1.0.7
func (m *MergeCallModel) Size() (n int)
func (*MergeCallModel) String ¶ added in v1.0.7
func (this *MergeCallModel) String() string
func (*MergeCallModel) Unmarshal ¶ added in v1.0.7
func (m *MergeCallModel) Unmarshal(dAtA []byte) error
func (*MergeCallModel) XXX_DiscardUnknown ¶ added in v1.0.7
func (m *MergeCallModel) XXX_DiscardUnknown()
func (*MergeCallModel) XXX_Marshal ¶ added in v1.0.7
func (m *MergeCallModel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MergeCallModel) XXX_Merge ¶ added in v1.0.7
func (m *MergeCallModel) XXX_Merge(src proto.Message)
func (*MergeCallModel) XXX_Size ¶ added in v1.0.7
func (m *MergeCallModel) XXX_Size() int
func (*MergeCallModel) XXX_Unmarshal ¶ added in v1.0.7
func (m *MergeCallModel) XXX_Unmarshal(b []byte) error
type OutPeer ¶
type OutPeer struct { Type PeerType `protobuf:"varint,1,opt,name=type,proto3,enum=main.PeerType" json:"type,omitempty"` Id int32 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"` AccessHash int64 `protobuf:"varint,3,opt,name=accessHash,proto3" json:"accessHash,omitempty"` StrId string `protobuf:"bytes,4,opt,name=str_id,json=strId,proto3" json:"str_id,omitempty"` }
func (*OutPeer) Descriptor ¶
func (*OutPeer) GetAccessHash ¶
func (*OutPeer) MarshalToSizedBuffer ¶ added in v1.0.4
func (*OutPeer) ProtoMessage ¶
func (*OutPeer) ProtoMessage()
func (*OutPeer) XXX_DiscardUnknown ¶
func (m *OutPeer) XXX_DiscardUnknown()
func (*OutPeer) XXX_Marshal ¶
func (*OutPeer) XXX_Unmarshal ¶
type Peer ¶
type Peer struct { Type PeerType `protobuf:"varint,1,opt,name=type,proto3,enum=main.PeerType" json:"type,omitempty"` Id int32 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"` StrId string `protobuf:"bytes,3,opt,name=str_id,json=strId,proto3" json:"str_id,omitempty"` }
func (*Peer) Descriptor ¶
func (*Peer) MarshalToSizedBuffer ¶ added in v1.0.4
func (*Peer) ProtoMessage ¶
func (*Peer) ProtoMessage()
func (*Peer) XXX_DiscardUnknown ¶
func (m *Peer) XXX_DiscardUnknown()
func (*Peer) XXX_Unmarshal ¶
type PingRequest ¶
type PingRequest struct { }
func (*PingRequest) Descriptor ¶
func (*PingRequest) Descriptor() ([]byte, []int)
func (*PingRequest) Equal ¶
func (this *PingRequest) Equal(that interface{}) bool
func (*PingRequest) GoString ¶
func (this *PingRequest) GoString() string
func (*PingRequest) Marshal ¶
func (m *PingRequest) Marshal() (dAtA []byte, err error)
func (*PingRequest) MarshalToSizedBuffer ¶ added in v1.0.4
func (m *PingRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PingRequest) ProtoMessage ¶
func (*PingRequest) ProtoMessage()
func (*PingRequest) Reset ¶
func (m *PingRequest) Reset()
func (*PingRequest) Size ¶
func (m *PingRequest) Size() (n int)
func (*PingRequest) String ¶
func (this *PingRequest) String() string
func (*PingRequest) Unmarshal ¶
func (m *PingRequest) Unmarshal(dAtA []byte) error
func (*PingRequest) XXX_DiscardUnknown ¶
func (m *PingRequest) XXX_DiscardUnknown()
func (*PingRequest) XXX_Marshal ¶
func (m *PingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PingRequest) XXX_Merge ¶
func (m *PingRequest) XXX_Merge(src proto.Message)
func (*PingRequest) XXX_Size ¶
func (m *PingRequest) XXX_Size() int
func (*PingRequest) XXX_Unmarshal ¶
func (m *PingRequest) XXX_Unmarshal(b []byte) error
type PongResponse ¶
type PongResponse struct { }
func (*PongResponse) Descriptor ¶
func (*PongResponse) Descriptor() ([]byte, []int)
func (*PongResponse) Equal ¶
func (this *PongResponse) Equal(that interface{}) bool
func (*PongResponse) GoString ¶
func (this *PongResponse) GoString() string
func (*PongResponse) Marshal ¶
func (m *PongResponse) Marshal() (dAtA []byte, err error)
func (*PongResponse) MarshalToSizedBuffer ¶ added in v1.0.4
func (m *PongResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PongResponse) ProtoMessage ¶
func (*PongResponse) ProtoMessage()
func (*PongResponse) Reset ¶
func (m *PongResponse) Reset()
func (*PongResponse) Size ¶
func (m *PongResponse) Size() (n int)
func (*PongResponse) String ¶
func (this *PongResponse) String() string
func (*PongResponse) Unmarshal ¶
func (m *PongResponse) Unmarshal(dAtA []byte) error
func (*PongResponse) XXX_DiscardUnknown ¶
func (m *PongResponse) XXX_DiscardUnknown()
func (*PongResponse) XXX_Marshal ¶
func (m *PongResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PongResponse) XXX_Merge ¶
func (m *PongResponse) XXX_Merge(src proto.Message)
func (*PongResponse) XXX_Size ¶
func (m *PongResponse) XXX_Size() int
func (*PongResponse) XXX_Unmarshal ¶
func (m *PongResponse) XXX_Unmarshal(b []byte) error
type Push ¶
type Push struct { Destinations map[string]*DeviceIdList `` /* 165-byte string literal not displayed */ Body *PushBody `protobuf:"bytes,2,opt,name=body,proto3" json:"body,omitempty"` CorrelationId string `protobuf:"bytes,3,opt,name=correlation_id,json=correlationId,proto3" json:"correlation_id,omitempty"` }
func (*Push) Descriptor ¶
func (*Push) GetCorrelationId ¶
func (*Push) GetDestinations ¶
func (m *Push) GetDestinations() map[string]*DeviceIdList
func (*Push) MarshalToSizedBuffer ¶ added in v1.0.4
func (*Push) ProtoMessage ¶
func (*Push) ProtoMessage()
func (*Push) XXX_DiscardUnknown ¶
func (m *Push) XXX_DiscardUnknown()
func (*Push) XXX_Unmarshal ¶
type PushBody ¶
type PushBody struct { CollapseKey string `protobuf:"bytes,1,opt,name=collapse_key,json=collapseKey,proto3" json:"collapse_key,omitempty"` TimeToLive int32 `protobuf:"varint,2,opt,name=time_to_live,json=timeToLive,proto3" json:"time_to_live,omitempty"` Seq int32 `protobuf:"varint,3,opt,name=seq,proto3" json:"seq,omitempty"` // Types that are valid to be assigned to Body: // *PushBody_SilentPush // *PushBody_AlertingPush // *PushBody_VoipPush // *PushBody_EncryptedPush // *PushBody_ReadPush Body isPushBody_Body `protobuf_oneof:"body"` }
func (*PushBody) Descriptor ¶
func (*PushBody) GetAlertingPush ¶
func (m *PushBody) GetAlertingPush() *AlertingPush
func (*PushBody) GetCollapseKey ¶
func (*PushBody) GetEncryptedPush ¶
func (m *PushBody) GetEncryptedPush() *EncryptedPush
func (*PushBody) GetReadPush ¶ added in v1.0.6
func (*PushBody) GetSilentPush ¶
func (m *PushBody) GetSilentPush() *SilentPush
func (*PushBody) GetTimeToLive ¶
func (*PushBody) GetVoipPush ¶
func (*PushBody) MarshalToSizedBuffer ¶ added in v1.0.4
func (*PushBody) ProtoMessage ¶
func (*PushBody) ProtoMessage()
func (*PushBody) XXX_DiscardUnknown ¶
func (m *PushBody) XXX_DiscardUnknown()
func (*PushBody) XXX_Marshal ¶
func (*PushBody) XXX_OneofWrappers ¶ added in v1.0.4
func (*PushBody) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*PushBody) XXX_Unmarshal ¶
type PushBody_AlertingPush ¶
type PushBody_AlertingPush struct {
AlertingPush *AlertingPush `protobuf:"bytes,5,opt,name=alerting_push,json=alertingPush,proto3,oneof" json:"alerting_push,omitempty"`
}
func (*PushBody_AlertingPush) Equal ¶
func (this *PushBody_AlertingPush) Equal(that interface{}) bool
func (*PushBody_AlertingPush) GoString ¶
func (this *PushBody_AlertingPush) GoString() string
func (*PushBody_AlertingPush) MarshalTo ¶
func (m *PushBody_AlertingPush) MarshalTo(dAtA []byte) (int, error)
func (*PushBody_AlertingPush) MarshalToSizedBuffer ¶ added in v1.0.4
func (m *PushBody_AlertingPush) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PushBody_AlertingPush) Size ¶
func (m *PushBody_AlertingPush) Size() (n int)
func (*PushBody_AlertingPush) String ¶
func (this *PushBody_AlertingPush) String() string
type PushBody_EncryptedPush ¶
type PushBody_EncryptedPush struct {
EncryptedPush *EncryptedPush `protobuf:"bytes,7,opt,name=encrypted_push,json=encryptedPush,proto3,oneof" json:"encrypted_push,omitempty"`
}
func (*PushBody_EncryptedPush) Equal ¶
func (this *PushBody_EncryptedPush) Equal(that interface{}) bool
func (*PushBody_EncryptedPush) GoString ¶
func (this *PushBody_EncryptedPush) GoString() string
func (*PushBody_EncryptedPush) MarshalTo ¶
func (m *PushBody_EncryptedPush) MarshalTo(dAtA []byte) (int, error)
func (*PushBody_EncryptedPush) MarshalToSizedBuffer ¶ added in v1.0.4
func (m *PushBody_EncryptedPush) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PushBody_EncryptedPush) Size ¶
func (m *PushBody_EncryptedPush) Size() (n int)
func (*PushBody_EncryptedPush) String ¶
func (this *PushBody_EncryptedPush) String() string
type PushBody_ReadPush ¶ added in v1.0.6
type PushBody_ReadPush struct {
ReadPush *ReadPush `protobuf:"bytes,8,opt,name=read_push,json=readPush,proto3,oneof" json:"read_push,omitempty"`
}
func (*PushBody_ReadPush) Equal ¶ added in v1.0.6
func (this *PushBody_ReadPush) Equal(that interface{}) bool
func (*PushBody_ReadPush) GoString ¶ added in v1.0.6
func (this *PushBody_ReadPush) GoString() string
func (*PushBody_ReadPush) MarshalTo ¶ added in v1.0.6
func (m *PushBody_ReadPush) MarshalTo(dAtA []byte) (int, error)
func (*PushBody_ReadPush) MarshalToSizedBuffer ¶ added in v1.0.6
func (m *PushBody_ReadPush) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PushBody_ReadPush) Size ¶ added in v1.0.6
func (m *PushBody_ReadPush) Size() (n int)
func (*PushBody_ReadPush) String ¶ added in v1.0.6
func (this *PushBody_ReadPush) String() string
type PushBody_SilentPush ¶
type PushBody_SilentPush struct {
SilentPush *SilentPush `protobuf:"bytes,4,opt,name=silent_push,json=silentPush,proto3,oneof" json:"silent_push,omitempty"`
}
func (*PushBody_SilentPush) Equal ¶
func (this *PushBody_SilentPush) Equal(that interface{}) bool
func (*PushBody_SilentPush) GoString ¶
func (this *PushBody_SilentPush) GoString() string
func (*PushBody_SilentPush) MarshalTo ¶
func (m *PushBody_SilentPush) MarshalTo(dAtA []byte) (int, error)
func (*PushBody_SilentPush) MarshalToSizedBuffer ¶ added in v1.0.4
func (m *PushBody_SilentPush) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PushBody_SilentPush) Size ¶
func (m *PushBody_SilentPush) Size() (n int)
func (*PushBody_SilentPush) String ¶
func (this *PushBody_SilentPush) String() string
type PushBody_VoipPush ¶
type PushBody_VoipPush struct {
VoipPush *VoipPush `protobuf:"bytes,6,opt,name=voip_push,json=voipPush,proto3,oneof" json:"voip_push,omitempty"`
}
func (*PushBody_VoipPush) Equal ¶
func (this *PushBody_VoipPush) Equal(that interface{}) bool
func (*PushBody_VoipPush) GoString ¶
func (this *PushBody_VoipPush) GoString() string
func (*PushBody_VoipPush) MarshalTo ¶
func (m *PushBody_VoipPush) MarshalTo(dAtA []byte) (int, error)
func (*PushBody_VoipPush) MarshalToSizedBuffer ¶ added in v1.0.4
func (m *PushBody_VoipPush) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PushBody_VoipPush) Size ¶
func (m *PushBody_VoipPush) Size() (n int)
func (*PushBody_VoipPush) String ¶
func (this *PushBody_VoipPush) String() string
type PushingClient ¶
type PushingClient interface { Ping(ctx context.Context, in *PingRequest, opts ...grpc.CallOption) (*PongResponse, error) PushStream(ctx context.Context, opts ...grpc.CallOption) (Pushing_PushStreamClient, error) SinglePush(ctx context.Context, in *Push, opts ...grpc.CallOption) (*Response, error) }
PushingClient is the client API for Pushing service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewPushingClient ¶
func NewPushingClient(cc *grpc.ClientConn) PushingClient
type PushingServer ¶
type PushingServer interface { Ping(context.Context, *PingRequest) (*PongResponse, error) PushStream(Pushing_PushStreamServer) error SinglePush(context.Context, *Push) (*Response, error) }
PushingServer is the server API for Pushing service.
type ReadPush ¶ added in v1.0.6
type ReadPush struct { Peer *Peer `protobuf:"bytes,1,opt,name=peer,proto3" json:"peer,omitempty"` LastReadDate int64 `protobuf:"varint,2,opt,name=last_read_date,json=lastReadDate,proto3" json:"last_read_date,omitempty"` }
func (*ReadPush) Descriptor ¶ added in v1.0.6
func (*ReadPush) GetLastReadDate ¶ added in v1.0.6
func (*ReadPush) MarshalToSizedBuffer ¶ added in v1.0.6
func (*ReadPush) ProtoMessage ¶ added in v1.0.6
func (*ReadPush) ProtoMessage()
func (*ReadPush) XXX_DiscardUnknown ¶ added in v1.0.6
func (m *ReadPush) XXX_DiscardUnknown()
func (*ReadPush) XXX_Marshal ¶ added in v1.0.6
func (*ReadPush) XXX_Unmarshal ¶ added in v1.0.6
type Response ¶
type Response struct {
ProjectInvalidations map[string]*DeviceIdList `` /* 209-byte string literal not displayed */
}
func (*Response) Descriptor ¶
func (*Response) GetProjectInvalidations ¶
func (m *Response) GetProjectInvalidations() map[string]*DeviceIdList
func (*Response) MarshalToSizedBuffer ¶ added in v1.0.4
func (*Response) ProtoMessage ¶
func (*Response) ProtoMessage()
func (*Response) XXX_DiscardUnknown ¶
func (m *Response) XXX_DiscardUnknown()
func (*Response) XXX_Marshal ¶
func (*Response) XXX_Unmarshal ¶
type SilentPush ¶
type SilentPush struct { }
func (*SilentPush) Descriptor ¶
func (*SilentPush) Descriptor() ([]byte, []int)
func (*SilentPush) Equal ¶
func (this *SilentPush) Equal(that interface{}) bool
func (*SilentPush) GoString ¶
func (this *SilentPush) GoString() string
func (*SilentPush) Marshal ¶
func (m *SilentPush) Marshal() (dAtA []byte, err error)
func (*SilentPush) MarshalToSizedBuffer ¶ added in v1.0.4
func (m *SilentPush) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SilentPush) ProtoMessage ¶
func (*SilentPush) ProtoMessage()
func (*SilentPush) Reset ¶
func (m *SilentPush) Reset()
func (*SilentPush) Size ¶
func (m *SilentPush) Size() (n int)
func (*SilentPush) String ¶
func (this *SilentPush) String() string
func (*SilentPush) Unmarshal ¶
func (m *SilentPush) Unmarshal(dAtA []byte) error
func (*SilentPush) XXX_DiscardUnknown ¶
func (m *SilentPush) XXX_DiscardUnknown()
func (*SilentPush) XXX_Marshal ¶
func (m *SilentPush) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SilentPush) XXX_Merge ¶
func (m *SilentPush) XXX_Merge(src proto.Message)
func (*SilentPush) XXX_Size ¶
func (m *SilentPush) XXX_Size() int
func (*SilentPush) XXX_Unmarshal ¶
func (m *SilentPush) XXX_Unmarshal(b []byte) error
type UnimplementedPushingServer ¶
type UnimplementedPushingServer struct { }
UnimplementedPushingServer can be embedded to have forward compatible implementations.
func (*UnimplementedPushingServer) Ping ¶
func (*UnimplementedPushingServer) Ping(ctx context.Context, req *PingRequest) (*PongResponse, error)
func (*UnimplementedPushingServer) PushStream ¶
func (*UnimplementedPushingServer) PushStream(srv Pushing_PushStreamServer) error
func (*UnimplementedPushingServer) SinglePush ¶
type VoipPush ¶
type VoipPush struct { CallId int64 `protobuf:"varint,1,opt,name=call_id,json=callId,proto3" json:"call_id,omitempty"` AttemptIndex int32 `protobuf:"varint,2,opt,name=attempt_index,json=attemptIndex,proto3" json:"attempt_index,omitempty"` DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` EventBusId string `protobuf:"bytes,4,opt,name=event_bus_id,json=eventBusId,proto3" json:"event_bus_id,omitempty"` Peer *Peer `protobuf:"bytes,5,opt,name=peer,proto3" json:"peer,omitempty"` UpdateType string `protobuf:"bytes,6,opt,name=update_type,json=updateType,proto3" json:"update_type,omitempty"` DisposalReason string `protobuf:"bytes,7,opt,name=disposal_reason,json=disposalReason,proto3" json:"disposal_reason,omitempty"` OutPeer *OutPeer `protobuf:"bytes,8,opt,name=outPeer,proto3" json:"outPeer,omitempty"` Video bool `protobuf:"varint,9,opt,name=video,proto3" json:"video,omitempty"` CallIdStr string `protobuf:"bytes,10,opt,name=call_id_str,json=callIdStr,proto3" json:"call_id_str,omitempty"` Token string `protobuf:"bytes,11,opt,name=token,proto3" json:"token,omitempty"` Endpoint string `protobuf:"bytes,12,opt,name=endpoint,proto3" json:"endpoint,omitempty"` Merge *MergeCallModel `protobuf:"bytes,13,opt,name=merge,proto3" json:"merge,omitempty"` }
func (*VoipPush) Descriptor ¶
func (*VoipPush) GetAttemptIndex ¶
func (*VoipPush) GetCallIdStr ¶ added in v1.0.5
func (*VoipPush) GetDisplayName ¶
func (*VoipPush) GetDisposalReason ¶
func (*VoipPush) GetEndpoint ¶ added in v1.0.6
func (*VoipPush) GetEventBusId ¶
func (*VoipPush) GetMerge ¶ added in v1.0.7
func (m *VoipPush) GetMerge() *MergeCallModel
func (*VoipPush) GetOutPeer ¶
func (*VoipPush) GetUpdateType ¶
func (*VoipPush) MarshalToSizedBuffer ¶ added in v1.0.4
func (*VoipPush) ProtoMessage ¶
func (*VoipPush) ProtoMessage()
func (*VoipPush) XXX_DiscardUnknown ¶
func (m *VoipPush) XXX_DiscardUnknown()
func (*VoipPush) XXX_Marshal ¶
func (*VoipPush) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.