phone_call

package
v0.0.0-...-6e21e7b Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2018 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package phone_call is a generated protocol buffer package.

It is generated from these files:

phone_call_session.proto

It has these top-level messages:

PhoneCallSession

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakePhoneCallLogcByLoad

func MakePhoneCallLogcByLoad(id int64) (*phoneCallLogic, error)

func NewPhoneCallLogic

func NewPhoneCallLogic(adminId, participantId int32, ga []byte, protocol *mtproto.TLPhoneCallProtocol) *phoneCallLogic

Types

type PhoneCallSession

type PhoneCallSession struct {
	Id                    int64  `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	AdminId               int32  `protobuf:"varint,2,opt,name=admin_id,json=adminId" json:"admin_id,omitempty"`
	AdminAccessHash       int64  `protobuf:"varint,3,opt,name=admin_access_hash,json=adminAccessHash" json:"admin_access_hash,omitempty"`
	ParticipantId         int32  `protobuf:"varint,4,opt,name=participant_id,json=participantId" json:"participant_id,omitempty"`
	ParticipantAccessHash int64  `protobuf:"varint,5,opt,name=participant_access_hash,json=participantAccessHash" json:"participant_access_hash,omitempty"`
	UdpP2P                bool   `protobuf:"varint,6,opt,name=udp_p2p,json=udpP2p" json:"udp_p2p,omitempty"`
	UdpReflector          bool   `protobuf:"varint,7,opt,name=udp_reflector,json=udpReflector" json:"udp_reflector,omitempty"`
	MinLayer              int32  `protobuf:"varint,8,opt,name=min_layer,json=minLayer" json:"min_layer,omitempty"`
	MaxLayer              int32  `protobuf:"varint,9,opt,name=max_layer,json=maxLayer" json:"max_layer,omitempty"`
	GA                    []byte `protobuf:"bytes,10,opt,name=g_a,json=gA,proto3" json:"g_a,omitempty"`
	GB                    []byte `protobuf:"bytes,11,opt,name=g_b,json=gB,proto3" json:"g_b,omitempty"`
	State                 int32  `protobuf:"varint,12,opt,name=state" json:"state,omitempty"`
	Date                  int64  `protobuf:"varint,13,opt,name=date" json:"date,omitempty"`
}

func (*PhoneCallSession) Descriptor

func (*PhoneCallSession) Descriptor() ([]byte, []int)

func (*PhoneCallSession) GetAdminAccessHash

func (m *PhoneCallSession) GetAdminAccessHash() int64

func (*PhoneCallSession) GetAdminId

func (m *PhoneCallSession) GetAdminId() int32

func (*PhoneCallSession) GetDate

func (m *PhoneCallSession) GetDate() int64

func (*PhoneCallSession) GetGA

func (m *PhoneCallSession) GetGA() []byte

func (*PhoneCallSession) GetGB

func (m *PhoneCallSession) GetGB() []byte

func (*PhoneCallSession) GetId

func (m *PhoneCallSession) GetId() int64

func (*PhoneCallSession) GetMaxLayer

func (m *PhoneCallSession) GetMaxLayer() int32

func (*PhoneCallSession) GetMinLayer

func (m *PhoneCallSession) GetMinLayer() int32

func (*PhoneCallSession) GetParticipantAccessHash

func (m *PhoneCallSession) GetParticipantAccessHash() int64

func (*PhoneCallSession) GetParticipantId

func (m *PhoneCallSession) GetParticipantId() int32

func (*PhoneCallSession) GetState

func (m *PhoneCallSession) GetState() int32

func (*PhoneCallSession) GetUdpP2P

func (m *PhoneCallSession) GetUdpP2P() bool

func (*PhoneCallSession) GetUdpReflector

func (m *PhoneCallSession) GetUdpReflector() bool

func (*PhoneCallSession) ProtoMessage

func (*PhoneCallSession) ProtoMessage()

func (*PhoneCallSession) Reset

func (m *PhoneCallSession) Reset()

func (*PhoneCallSession) String

func (m *PhoneCallSession) String() string

Jump to

Keyboard shortcuts

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