Documentation ¶
Index ¶
- Constants
- Variables
- func CheckClassID(classId int32) (ok bool)
- func GetClazzID(clazzName string, layer int) int32
- func GetRPCContextRegisters() map[string]RPCContextTuple
- func NewTLObjectByClassID(classId int32) mtproto.TLObject
- func RegisterRPCInboxServer(s *grpc.Server, srv RPCInboxServer)
- type InboxMessageData
- func (m *InboxMessageData) CalcByteSize(layer int32) int
- func (m *InboxMessageData) DebugString() string
- func (m *InboxMessageData) Decode(dBuf *mtproto.DecodeBuf) error
- func (*InboxMessageData) Descriptor() ([]byte, []int)
- func (m *InboxMessageData) Encode(x *mtproto.EncodeBuf, layer int32) []byte
- func (m *InboxMessageData) GetConstructor() TLConstructor
- func (m *InboxMessageData) GetDialogMessageId() int64
- func (m *InboxMessageData) GetMessage() *mtproto.Message
- func (m *InboxMessageData) GetPredicateName() string
- func (m *InboxMessageData) GetRandomId() int64
- func (this *InboxMessageData) GoString() string
- func (m *InboxMessageData) Marshal() (dAtA []byte, err error)
- func (m *InboxMessageData) MarshalTo(dAtA []byte) (int, error)
- func (m *InboxMessageData) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*InboxMessageData) ProtoMessage()
- func (m *InboxMessageData) Reset()
- func (m *InboxMessageData) Size() (n int)
- func (m *InboxMessageData) String() string
- func (m *InboxMessageData) To_InboxMessageData() *TLInboxMessageData
- func (m *InboxMessageData) Unmarshal(dAtA []byte) error
- func (m *InboxMessageData) XXX_DiscardUnknown()
- func (m *InboxMessageData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *InboxMessageData) XXX_Merge(src proto.Message)
- func (m *InboxMessageData) XXX_Size() int
- func (m *InboxMessageData) XXX_Unmarshal(b []byte) error
- type InboxMessageId
- func (m *InboxMessageId) CalcByteSize(layer int32) int
- func (m *InboxMessageId) DebugString() string
- func (m *InboxMessageId) Decode(dBuf *mtproto.DecodeBuf) error
- func (*InboxMessageId) Descriptor() ([]byte, []int)
- func (m *InboxMessageId) Encode(x *mtproto.EncodeBuf, layer int32) []byte
- func (m *InboxMessageId) GetConstructor() TLConstructor
- func (m *InboxMessageId) GetDialogMessageId() int64
- func (m *InboxMessageId) GetId() int32
- func (m *InboxMessageId) GetPredicateName() string
- func (this *InboxMessageId) GoString() string
- func (m *InboxMessageId) Marshal() (dAtA []byte, err error)
- func (m *InboxMessageId) MarshalTo(dAtA []byte) (int, error)
- func (m *InboxMessageId) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*InboxMessageId) ProtoMessage()
- func (m *InboxMessageId) Reset()
- func (m *InboxMessageId) Size() (n int)
- func (m *InboxMessageId) String() string
- func (m *InboxMessageId) To_InboxMessageId() *TLInboxMessageId
- func (m *InboxMessageId) Unmarshal(dAtA []byte) error
- func (m *InboxMessageId) XXX_DiscardUnknown()
- func (m *InboxMessageId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *InboxMessageId) XXX_Merge(src proto.Message)
- func (m *InboxMessageId) XXX_Size() int
- func (m *InboxMessageId) XXX_Unmarshal(b []byte) error
- type RPCContextTuple
- type RPCInboxClient
- type RPCInboxServer
- type TLConstructor
- type TLInboxDeleteChatHistoryToInbox
- func (m *TLInboxDeleteChatHistoryToInbox) CalcByteSize(layer int32) int
- func (m *TLInboxDeleteChatHistoryToInbox) DebugString() string
- func (m *TLInboxDeleteChatHistoryToInbox) Decode(dBuf *mtproto.DecodeBuf) error
- func (*TLInboxDeleteChatHistoryToInbox) Descriptor() ([]byte, []int)
- func (m *TLInboxDeleteChatHistoryToInbox) Encode(x *mtproto.EncodeBuf, layer int32) error
- func (m *TLInboxDeleteChatHistoryToInbox) GetConstructor() TLConstructor
- func (m *TLInboxDeleteChatHistoryToInbox) GetFromId() int64
- func (m *TLInboxDeleteChatHistoryToInbox) GetMaxId() int32
- func (m *TLInboxDeleteChatHistoryToInbox) GetPeerChatId() int64
- func (this *TLInboxDeleteChatHistoryToInbox) GoString() string
- func (m *TLInboxDeleteChatHistoryToInbox) Marshal() (dAtA []byte, err error)
- func (m *TLInboxDeleteChatHistoryToInbox) MarshalTo(dAtA []byte) (int, error)
- func (m *TLInboxDeleteChatHistoryToInbox) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TLInboxDeleteChatHistoryToInbox) ProtoMessage()
- func (m *TLInboxDeleteChatHistoryToInbox) Reset()
- func (m *TLInboxDeleteChatHistoryToInbox) Size() (n int)
- func (m *TLInboxDeleteChatHistoryToInbox) String() string
- func (m *TLInboxDeleteChatHistoryToInbox) Unmarshal(dAtA []byte) error
- func (m *TLInboxDeleteChatHistoryToInbox) XXX_DiscardUnknown()
- func (m *TLInboxDeleteChatHistoryToInbox) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TLInboxDeleteChatHistoryToInbox) XXX_Merge(src proto.Message)
- func (m *TLInboxDeleteChatHistoryToInbox) XXX_Size() int
- func (m *TLInboxDeleteChatHistoryToInbox) XXX_Unmarshal(b []byte) error
- type TLInboxDeleteMessagesToInbox
- func (m *TLInboxDeleteMessagesToInbox) CalcByteSize(layer int32) int
- func (m *TLInboxDeleteMessagesToInbox) DebugString() string
- func (m *TLInboxDeleteMessagesToInbox) Decode(dBuf *mtproto.DecodeBuf) error
- func (*TLInboxDeleteMessagesToInbox) Descriptor() ([]byte, []int)
- func (m *TLInboxDeleteMessagesToInbox) Encode(x *mtproto.EncodeBuf, layer int32) error
- func (m *TLInboxDeleteMessagesToInbox) GetConstructor() TLConstructor
- func (m *TLInboxDeleteMessagesToInbox) GetFromId() int64
- func (m *TLInboxDeleteMessagesToInbox) GetId() []int64
- func (m *TLInboxDeleteMessagesToInbox) GetPeerId() int64
- func (m *TLInboxDeleteMessagesToInbox) GetPeerType() int32
- func (this *TLInboxDeleteMessagesToInbox) GoString() string
- func (m *TLInboxDeleteMessagesToInbox) Marshal() (dAtA []byte, err error)
- func (m *TLInboxDeleteMessagesToInbox) MarshalTo(dAtA []byte) (int, error)
- func (m *TLInboxDeleteMessagesToInbox) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TLInboxDeleteMessagesToInbox) ProtoMessage()
- func (m *TLInboxDeleteMessagesToInbox) Reset()
- func (m *TLInboxDeleteMessagesToInbox) Size() (n int)
- func (m *TLInboxDeleteMessagesToInbox) String() string
- func (m *TLInboxDeleteMessagesToInbox) Unmarshal(dAtA []byte) error
- func (m *TLInboxDeleteMessagesToInbox) XXX_DiscardUnknown()
- func (m *TLInboxDeleteMessagesToInbox) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TLInboxDeleteMessagesToInbox) XXX_Merge(src proto.Message)
- func (m *TLInboxDeleteMessagesToInbox) XXX_Size() int
- func (m *TLInboxDeleteMessagesToInbox) XXX_Unmarshal(b []byte) error
- type TLInboxDeleteUserHistoryToInbox
- func (m *TLInboxDeleteUserHistoryToInbox) CalcByteSize(layer int32) int
- func (m *TLInboxDeleteUserHistoryToInbox) DebugString() string
- func (m *TLInboxDeleteUserHistoryToInbox) Decode(dBuf *mtproto.DecodeBuf) error
- func (*TLInboxDeleteUserHistoryToInbox) Descriptor() ([]byte, []int)
- func (m *TLInboxDeleteUserHistoryToInbox) Encode(x *mtproto.EncodeBuf, layer int32) error
- func (m *TLInboxDeleteUserHistoryToInbox) GetConstructor() TLConstructor
- func (m *TLInboxDeleteUserHistoryToInbox) GetFromId() int64
- func (m *TLInboxDeleteUserHistoryToInbox) GetJustClear() bool
- func (m *TLInboxDeleteUserHistoryToInbox) GetMaxId() int32
- func (m *TLInboxDeleteUserHistoryToInbox) GetPeerUserId() int64
- func (this *TLInboxDeleteUserHistoryToInbox) GoString() string
- func (m *TLInboxDeleteUserHistoryToInbox) Marshal() (dAtA []byte, err error)
- func (m *TLInboxDeleteUserHistoryToInbox) MarshalTo(dAtA []byte) (int, error)
- func (m *TLInboxDeleteUserHistoryToInbox) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TLInboxDeleteUserHistoryToInbox) ProtoMessage()
- func (m *TLInboxDeleteUserHistoryToInbox) Reset()
- func (m *TLInboxDeleteUserHistoryToInbox) Size() (n int)
- func (m *TLInboxDeleteUserHistoryToInbox) String() string
- func (m *TLInboxDeleteUserHistoryToInbox) Unmarshal(dAtA []byte) error
- func (m *TLInboxDeleteUserHistoryToInbox) XXX_DiscardUnknown()
- func (m *TLInboxDeleteUserHistoryToInbox) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TLInboxDeleteUserHistoryToInbox) XXX_Merge(src proto.Message)
- func (m *TLInboxDeleteUserHistoryToInbox) XXX_Size() int
- func (m *TLInboxDeleteUserHistoryToInbox) XXX_Unmarshal(b []byte) error
- type TLInboxEditChatMessageToInbox
- func (m *TLInboxEditChatMessageToInbox) CalcByteSize(layer int32) int
- func (m *TLInboxEditChatMessageToInbox) DebugString() string
- func (m *TLInboxEditChatMessageToInbox) Decode(dBuf *mtproto.DecodeBuf) error
- func (*TLInboxEditChatMessageToInbox) Descriptor() ([]byte, []int)
- func (m *TLInboxEditChatMessageToInbox) Encode(x *mtproto.EncodeBuf, layer int32) error
- func (m *TLInboxEditChatMessageToInbox) GetConstructor() TLConstructor
- func (m *TLInboxEditChatMessageToInbox) GetFromId() int64
- func (m *TLInboxEditChatMessageToInbox) GetMessage() *mtproto.Message
- func (m *TLInboxEditChatMessageToInbox) GetPeerChatId() int64
- func (this *TLInboxEditChatMessageToInbox) GoString() string
- func (m *TLInboxEditChatMessageToInbox) Marshal() (dAtA []byte, err error)
- func (m *TLInboxEditChatMessageToInbox) MarshalTo(dAtA []byte) (int, error)
- func (m *TLInboxEditChatMessageToInbox) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TLInboxEditChatMessageToInbox) ProtoMessage()
- func (m *TLInboxEditChatMessageToInbox) Reset()
- func (m *TLInboxEditChatMessageToInbox) Size() (n int)
- func (m *TLInboxEditChatMessageToInbox) String() string
- func (m *TLInboxEditChatMessageToInbox) Unmarshal(dAtA []byte) error
- func (m *TLInboxEditChatMessageToInbox) XXX_DiscardUnknown()
- func (m *TLInboxEditChatMessageToInbox) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TLInboxEditChatMessageToInbox) XXX_Merge(src proto.Message)
- func (m *TLInboxEditChatMessageToInbox) XXX_Size() int
- func (m *TLInboxEditChatMessageToInbox) XXX_Unmarshal(b []byte) error
- type TLInboxEditUserMessageToInbox
- func (m *TLInboxEditUserMessageToInbox) CalcByteSize(layer int32) int
- func (m *TLInboxEditUserMessageToInbox) DebugString() string
- func (m *TLInboxEditUserMessageToInbox) Decode(dBuf *mtproto.DecodeBuf) error
- func (*TLInboxEditUserMessageToInbox) Descriptor() ([]byte, []int)
- func (m *TLInboxEditUserMessageToInbox) Encode(x *mtproto.EncodeBuf, layer int32) error
- func (m *TLInboxEditUserMessageToInbox) GetConstructor() TLConstructor
- func (m *TLInboxEditUserMessageToInbox) GetFromId() int64
- func (m *TLInboxEditUserMessageToInbox) GetMessage() *mtproto.Message
- func (m *TLInboxEditUserMessageToInbox) GetPeerUserId() int64
- func (this *TLInboxEditUserMessageToInbox) GoString() string
- func (m *TLInboxEditUserMessageToInbox) Marshal() (dAtA []byte, err error)
- func (m *TLInboxEditUserMessageToInbox) MarshalTo(dAtA []byte) (int, error)
- func (m *TLInboxEditUserMessageToInbox) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TLInboxEditUserMessageToInbox) ProtoMessage()
- func (m *TLInboxEditUserMessageToInbox) Reset()
- func (m *TLInboxEditUserMessageToInbox) Size() (n int)
- func (m *TLInboxEditUserMessageToInbox) String() string
- func (m *TLInboxEditUserMessageToInbox) Unmarshal(dAtA []byte) error
- func (m *TLInboxEditUserMessageToInbox) XXX_DiscardUnknown()
- func (m *TLInboxEditUserMessageToInbox) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TLInboxEditUserMessageToInbox) XXX_Merge(src proto.Message)
- func (m *TLInboxEditUserMessageToInbox) XXX_Size() int
- func (m *TLInboxEditUserMessageToInbox) XXX_Unmarshal(b []byte) error
- type TLInboxMessageData
- func (m *TLInboxMessageData) CalcByteSize(layer int32) int
- func (m *TLInboxMessageData) DebugString() string
- func (m *TLInboxMessageData) Decode(dBuf *mtproto.DecodeBuf) error
- func (*TLInboxMessageData) Descriptor() ([]byte, []int)
- func (m *TLInboxMessageData) Encode(x *mtproto.EncodeBuf, layer int32) error
- func (m *TLInboxMessageData) GetData2() *InboxMessageData
- func (m *TLInboxMessageData) GetDialogMessageId() int64
- func (m *TLInboxMessageData) GetMessage() *mtproto.Message
- func (m *TLInboxMessageData) GetPredicateName() string
- func (m *TLInboxMessageData) GetRandomId() int64
- func (this *TLInboxMessageData) GoString() string
- func (m *TLInboxMessageData) Marshal() (dAtA []byte, err error)
- func (m *TLInboxMessageData) MarshalTo(dAtA []byte) (int, error)
- func (m *TLInboxMessageData) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TLInboxMessageData) ProtoMessage()
- func (m *TLInboxMessageData) Reset()
- func (m *TLInboxMessageData) SetDialogMessageId(v int64)
- func (m *TLInboxMessageData) SetMessage(v *mtproto.Message)
- func (m *TLInboxMessageData) SetRandomId(v int64)
- func (m *TLInboxMessageData) Size() (n int)
- func (m *TLInboxMessageData) String() string
- func (m *TLInboxMessageData) To_InboxMessageData() *InboxMessageData
- func (m *TLInboxMessageData) Unmarshal(dAtA []byte) error
- func (m *TLInboxMessageData) XXX_DiscardUnknown()
- func (m *TLInboxMessageData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TLInboxMessageData) XXX_Merge(src proto.Message)
- func (m *TLInboxMessageData) XXX_Size() int
- func (m *TLInboxMessageData) XXX_Unmarshal(b []byte) error
- type TLInboxMessageId
- func (m *TLInboxMessageId) CalcByteSize(layer int32) int
- func (m *TLInboxMessageId) DebugString() string
- func (m *TLInboxMessageId) Decode(dBuf *mtproto.DecodeBuf) error
- func (*TLInboxMessageId) Descriptor() ([]byte, []int)
- func (m *TLInboxMessageId) Encode(x *mtproto.EncodeBuf, layer int32) error
- func (m *TLInboxMessageId) GetData2() *InboxMessageId
- func (m *TLInboxMessageId) GetDialogMessageId() int64
- func (m *TLInboxMessageId) GetId() int32
- func (m *TLInboxMessageId) GetPredicateName() string
- func (this *TLInboxMessageId) GoString() string
- func (m *TLInboxMessageId) Marshal() (dAtA []byte, err error)
- func (m *TLInboxMessageId) MarshalTo(dAtA []byte) (int, error)
- func (m *TLInboxMessageId) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TLInboxMessageId) ProtoMessage()
- func (m *TLInboxMessageId) Reset()
- func (m *TLInboxMessageId) SetDialogMessageId(v int64)
- func (m *TLInboxMessageId) SetId(v int32)
- func (m *TLInboxMessageId) Size() (n int)
- func (m *TLInboxMessageId) String() string
- func (m *TLInboxMessageId) To_InboxMessageId() *InboxMessageId
- func (m *TLInboxMessageId) Unmarshal(dAtA []byte) error
- func (m *TLInboxMessageId) XXX_DiscardUnknown()
- func (m *TLInboxMessageId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TLInboxMessageId) XXX_Merge(src proto.Message)
- func (m *TLInboxMessageId) XXX_Size() int
- func (m *TLInboxMessageId) XXX_Unmarshal(b []byte) error
- type TLInboxReadChatMediaUnreadToInbox
- func (m *TLInboxReadChatMediaUnreadToInbox) CalcByteSize(layer int32) int
- func (m *TLInboxReadChatMediaUnreadToInbox) DebugString() string
- func (m *TLInboxReadChatMediaUnreadToInbox) Decode(dBuf *mtproto.DecodeBuf) error
- func (*TLInboxReadChatMediaUnreadToInbox) Descriptor() ([]byte, []int)
- func (m *TLInboxReadChatMediaUnreadToInbox) Encode(x *mtproto.EncodeBuf, layer int32) error
- func (m *TLInboxReadChatMediaUnreadToInbox) GetConstructor() TLConstructor
- func (m *TLInboxReadChatMediaUnreadToInbox) GetFromId() int64
- func (m *TLInboxReadChatMediaUnreadToInbox) GetId() []*InboxMessageId
- func (m *TLInboxReadChatMediaUnreadToInbox) GetPeerChatId() int64
- func (this *TLInboxReadChatMediaUnreadToInbox) GoString() string
- func (m *TLInboxReadChatMediaUnreadToInbox) Marshal() (dAtA []byte, err error)
- func (m *TLInboxReadChatMediaUnreadToInbox) MarshalTo(dAtA []byte) (int, error)
- func (m *TLInboxReadChatMediaUnreadToInbox) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TLInboxReadChatMediaUnreadToInbox) ProtoMessage()
- func (m *TLInboxReadChatMediaUnreadToInbox) Reset()
- func (m *TLInboxReadChatMediaUnreadToInbox) Size() (n int)
- func (m *TLInboxReadChatMediaUnreadToInbox) String() string
- func (m *TLInboxReadChatMediaUnreadToInbox) Unmarshal(dAtA []byte) error
- func (m *TLInboxReadChatMediaUnreadToInbox) XXX_DiscardUnknown()
- func (m *TLInboxReadChatMediaUnreadToInbox) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TLInboxReadChatMediaUnreadToInbox) XXX_Merge(src proto.Message)
- func (m *TLInboxReadChatMediaUnreadToInbox) XXX_Size() int
- func (m *TLInboxReadChatMediaUnreadToInbox) XXX_Unmarshal(b []byte) error
- type TLInboxReadUserMediaUnreadToInbox
- func (m *TLInboxReadUserMediaUnreadToInbox) CalcByteSize(layer int32) int
- func (m *TLInboxReadUserMediaUnreadToInbox) DebugString() string
- func (m *TLInboxReadUserMediaUnreadToInbox) Decode(dBuf *mtproto.DecodeBuf) error
- func (*TLInboxReadUserMediaUnreadToInbox) Descriptor() ([]byte, []int)
- func (m *TLInboxReadUserMediaUnreadToInbox) Encode(x *mtproto.EncodeBuf, layer int32) error
- func (m *TLInboxReadUserMediaUnreadToInbox) GetConstructor() TLConstructor
- func (m *TLInboxReadUserMediaUnreadToInbox) GetFromId() int64
- func (m *TLInboxReadUserMediaUnreadToInbox) GetId() []*InboxMessageId
- func (m *TLInboxReadUserMediaUnreadToInbox) GetPeerUserId() int64
- func (this *TLInboxReadUserMediaUnreadToInbox) GoString() string
- func (m *TLInboxReadUserMediaUnreadToInbox) Marshal() (dAtA []byte, err error)
- func (m *TLInboxReadUserMediaUnreadToInbox) MarshalTo(dAtA []byte) (int, error)
- func (m *TLInboxReadUserMediaUnreadToInbox) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TLInboxReadUserMediaUnreadToInbox) ProtoMessage()
- func (m *TLInboxReadUserMediaUnreadToInbox) Reset()
- func (m *TLInboxReadUserMediaUnreadToInbox) Size() (n int)
- func (m *TLInboxReadUserMediaUnreadToInbox) String() string
- func (m *TLInboxReadUserMediaUnreadToInbox) Unmarshal(dAtA []byte) error
- func (m *TLInboxReadUserMediaUnreadToInbox) XXX_DiscardUnknown()
- func (m *TLInboxReadUserMediaUnreadToInbox) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TLInboxReadUserMediaUnreadToInbox) XXX_Merge(src proto.Message)
- func (m *TLInboxReadUserMediaUnreadToInbox) XXX_Size() int
- func (m *TLInboxReadUserMediaUnreadToInbox) XXX_Unmarshal(b []byte) error
- type TLInboxSendChatMessageToInbox
- func (m *TLInboxSendChatMessageToInbox) CalcByteSize(layer int32) int
- func (m *TLInboxSendChatMessageToInbox) DebugString() string
- func (m *TLInboxSendChatMessageToInbox) Decode(dBuf *mtproto.DecodeBuf) error
- func (*TLInboxSendChatMessageToInbox) Descriptor() ([]byte, []int)
- func (m *TLInboxSendChatMessageToInbox) Encode(x *mtproto.EncodeBuf, layer int32) error
- func (m *TLInboxSendChatMessageToInbox) GetConstructor() TLConstructor
- func (m *TLInboxSendChatMessageToInbox) GetFromId() int64
- func (m *TLInboxSendChatMessageToInbox) GetMessage() *InboxMessageData
- func (m *TLInboxSendChatMessageToInbox) GetPeerChatId() int64
- func (this *TLInboxSendChatMessageToInbox) GoString() string
- func (m *TLInboxSendChatMessageToInbox) Marshal() (dAtA []byte, err error)
- func (m *TLInboxSendChatMessageToInbox) MarshalTo(dAtA []byte) (int, error)
- func (m *TLInboxSendChatMessageToInbox) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TLInboxSendChatMessageToInbox) ProtoMessage()
- func (m *TLInboxSendChatMessageToInbox) Reset()
- func (m *TLInboxSendChatMessageToInbox) Size() (n int)
- func (m *TLInboxSendChatMessageToInbox) String() string
- func (m *TLInboxSendChatMessageToInbox) Unmarshal(dAtA []byte) error
- func (m *TLInboxSendChatMessageToInbox) XXX_DiscardUnknown()
- func (m *TLInboxSendChatMessageToInbox) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TLInboxSendChatMessageToInbox) XXX_Merge(src proto.Message)
- func (m *TLInboxSendChatMessageToInbox) XXX_Size() int
- func (m *TLInboxSendChatMessageToInbox) XXX_Unmarshal(b []byte) error
- type TLInboxSendChatMultiMessageToInbox
- func (m *TLInboxSendChatMultiMessageToInbox) CalcByteSize(layer int32) int
- func (m *TLInboxSendChatMultiMessageToInbox) DebugString() string
- func (m *TLInboxSendChatMultiMessageToInbox) Decode(dBuf *mtproto.DecodeBuf) error
- func (*TLInboxSendChatMultiMessageToInbox) Descriptor() ([]byte, []int)
- func (m *TLInboxSendChatMultiMessageToInbox) Encode(x *mtproto.EncodeBuf, layer int32) error
- func (m *TLInboxSendChatMultiMessageToInbox) GetConstructor() TLConstructor
- func (m *TLInboxSendChatMultiMessageToInbox) GetFromId() int64
- func (m *TLInboxSendChatMultiMessageToInbox) GetMessage() []*InboxMessageData
- func (m *TLInboxSendChatMultiMessageToInbox) GetPeerChatId() int64
- func (this *TLInboxSendChatMultiMessageToInbox) GoString() string
- func (m *TLInboxSendChatMultiMessageToInbox) Marshal() (dAtA []byte, err error)
- func (m *TLInboxSendChatMultiMessageToInbox) MarshalTo(dAtA []byte) (int, error)
- func (m *TLInboxSendChatMultiMessageToInbox) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TLInboxSendChatMultiMessageToInbox) ProtoMessage()
- func (m *TLInboxSendChatMultiMessageToInbox) Reset()
- func (m *TLInboxSendChatMultiMessageToInbox) Size() (n int)
- func (m *TLInboxSendChatMultiMessageToInbox) String() string
- func (m *TLInboxSendChatMultiMessageToInbox) Unmarshal(dAtA []byte) error
- func (m *TLInboxSendChatMultiMessageToInbox) XXX_DiscardUnknown()
- func (m *TLInboxSendChatMultiMessageToInbox) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TLInboxSendChatMultiMessageToInbox) XXX_Merge(src proto.Message)
- func (m *TLInboxSendChatMultiMessageToInbox) XXX_Size() int
- func (m *TLInboxSendChatMultiMessageToInbox) XXX_Unmarshal(b []byte) error
- type TLInboxSendUserMessageToInbox
- func (m *TLInboxSendUserMessageToInbox) CalcByteSize(layer int32) int
- func (m *TLInboxSendUserMessageToInbox) DebugString() string
- func (m *TLInboxSendUserMessageToInbox) Decode(dBuf *mtproto.DecodeBuf) error
- func (*TLInboxSendUserMessageToInbox) Descriptor() ([]byte, []int)
- func (m *TLInboxSendUserMessageToInbox) Encode(x *mtproto.EncodeBuf, layer int32) error
- func (m *TLInboxSendUserMessageToInbox) GetConstructor() TLConstructor
- func (m *TLInboxSendUserMessageToInbox) GetFromId() int64
- func (m *TLInboxSendUserMessageToInbox) GetMessage() *InboxMessageData
- func (m *TLInboxSendUserMessageToInbox) GetPeerUserId() int64
- func (this *TLInboxSendUserMessageToInbox) GoString() string
- func (m *TLInboxSendUserMessageToInbox) Marshal() (dAtA []byte, err error)
- func (m *TLInboxSendUserMessageToInbox) MarshalTo(dAtA []byte) (int, error)
- func (m *TLInboxSendUserMessageToInbox) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TLInboxSendUserMessageToInbox) ProtoMessage()
- func (m *TLInboxSendUserMessageToInbox) Reset()
- func (m *TLInboxSendUserMessageToInbox) Size() (n int)
- func (m *TLInboxSendUserMessageToInbox) String() string
- func (m *TLInboxSendUserMessageToInbox) Unmarshal(dAtA []byte) error
- func (m *TLInboxSendUserMessageToInbox) XXX_DiscardUnknown()
- func (m *TLInboxSendUserMessageToInbox) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TLInboxSendUserMessageToInbox) XXX_Merge(src proto.Message)
- func (m *TLInboxSendUserMessageToInbox) XXX_Size() int
- func (m *TLInboxSendUserMessageToInbox) XXX_Unmarshal(b []byte) error
- type TLInboxSendUserMultiMessageToInbox
- func (m *TLInboxSendUserMultiMessageToInbox) CalcByteSize(layer int32) int
- func (m *TLInboxSendUserMultiMessageToInbox) DebugString() string
- func (m *TLInboxSendUserMultiMessageToInbox) Decode(dBuf *mtproto.DecodeBuf) error
- func (*TLInboxSendUserMultiMessageToInbox) Descriptor() ([]byte, []int)
- func (m *TLInboxSendUserMultiMessageToInbox) Encode(x *mtproto.EncodeBuf, layer int32) error
- func (m *TLInboxSendUserMultiMessageToInbox) GetConstructor() TLConstructor
- func (m *TLInboxSendUserMultiMessageToInbox) GetFromId() int64
- func (m *TLInboxSendUserMultiMessageToInbox) GetMessage() []*InboxMessageData
- func (m *TLInboxSendUserMultiMessageToInbox) GetPeerUserId() int64
- func (this *TLInboxSendUserMultiMessageToInbox) GoString() string
- func (m *TLInboxSendUserMultiMessageToInbox) Marshal() (dAtA []byte, err error)
- func (m *TLInboxSendUserMultiMessageToInbox) MarshalTo(dAtA []byte) (int, error)
- func (m *TLInboxSendUserMultiMessageToInbox) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TLInboxSendUserMultiMessageToInbox) ProtoMessage()
- func (m *TLInboxSendUserMultiMessageToInbox) Reset()
- func (m *TLInboxSendUserMultiMessageToInbox) Size() (n int)
- func (m *TLInboxSendUserMultiMessageToInbox) String() string
- func (m *TLInboxSendUserMultiMessageToInbox) Unmarshal(dAtA []byte) error
- func (m *TLInboxSendUserMultiMessageToInbox) XXX_DiscardUnknown()
- func (m *TLInboxSendUserMultiMessageToInbox) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TLInboxSendUserMultiMessageToInbox) XXX_Merge(src proto.Message)
- func (m *TLInboxSendUserMultiMessageToInbox) XXX_Size() int
- func (m *TLInboxSendUserMultiMessageToInbox) XXX_Unmarshal(b []byte) error
- type TLInboxUnpinAllMessages
- func (m *TLInboxUnpinAllMessages) CalcByteSize(layer int32) int
- func (m *TLInboxUnpinAllMessages) DebugString() string
- func (m *TLInboxUnpinAllMessages) Decode(dBuf *mtproto.DecodeBuf) error
- func (*TLInboxUnpinAllMessages) Descriptor() ([]byte, []int)
- func (m *TLInboxUnpinAllMessages) Encode(x *mtproto.EncodeBuf, layer int32) error
- func (m *TLInboxUnpinAllMessages) GetAuthKeyId() int64
- func (m *TLInboxUnpinAllMessages) GetConstructor() TLConstructor
- func (m *TLInboxUnpinAllMessages) GetPeerId() int64
- func (m *TLInboxUnpinAllMessages) GetPeerType() int32
- func (m *TLInboxUnpinAllMessages) GetUserId() int64
- func (this *TLInboxUnpinAllMessages) GoString() string
- func (m *TLInboxUnpinAllMessages) Marshal() (dAtA []byte, err error)
- func (m *TLInboxUnpinAllMessages) MarshalTo(dAtA []byte) (int, error)
- func (m *TLInboxUnpinAllMessages) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TLInboxUnpinAllMessages) ProtoMessage()
- func (m *TLInboxUnpinAllMessages) Reset()
- func (m *TLInboxUnpinAllMessages) Size() (n int)
- func (m *TLInboxUnpinAllMessages) String() string
- func (m *TLInboxUnpinAllMessages) Unmarshal(dAtA []byte) error
- func (m *TLInboxUnpinAllMessages) XXX_DiscardUnknown()
- func (m *TLInboxUnpinAllMessages) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TLInboxUnpinAllMessages) XXX_Merge(src proto.Message)
- func (m *TLInboxUnpinAllMessages) XXX_Size() int
- func (m *TLInboxUnpinAllMessages) XXX_Unmarshal(b []byte) error
- type TLInboxUpdateHistoryReaded
- func (m *TLInboxUpdateHistoryReaded) CalcByteSize(layer int32) int
- func (m *TLInboxUpdateHistoryReaded) DebugString() string
- func (m *TLInboxUpdateHistoryReaded) Decode(dBuf *mtproto.DecodeBuf) error
- func (*TLInboxUpdateHistoryReaded) Descriptor() ([]byte, []int)
- func (m *TLInboxUpdateHistoryReaded) Encode(x *mtproto.EncodeBuf, layer int32) error
- func (m *TLInboxUpdateHistoryReaded) GetConstructor() TLConstructor
- func (m *TLInboxUpdateHistoryReaded) GetFromId() int64
- func (m *TLInboxUpdateHistoryReaded) GetMaxId() int32
- func (m *TLInboxUpdateHistoryReaded) GetPeerId() int64
- func (m *TLInboxUpdateHistoryReaded) GetPeerType() int32
- func (m *TLInboxUpdateHistoryReaded) GetSender() int64
- func (this *TLInboxUpdateHistoryReaded) GoString() string
- func (m *TLInboxUpdateHistoryReaded) Marshal() (dAtA []byte, err error)
- func (m *TLInboxUpdateHistoryReaded) MarshalTo(dAtA []byte) (int, error)
- func (m *TLInboxUpdateHistoryReaded) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TLInboxUpdateHistoryReaded) ProtoMessage()
- func (m *TLInboxUpdateHistoryReaded) Reset()
- func (m *TLInboxUpdateHistoryReaded) Size() (n int)
- func (m *TLInboxUpdateHistoryReaded) String() string
- func (m *TLInboxUpdateHistoryReaded) Unmarshal(dAtA []byte) error
- func (m *TLInboxUpdateHistoryReaded) XXX_DiscardUnknown()
- func (m *TLInboxUpdateHistoryReaded) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TLInboxUpdateHistoryReaded) XXX_Merge(src proto.Message)
- func (m *TLInboxUpdateHistoryReaded) XXX_Size() int
- func (m *TLInboxUpdateHistoryReaded) XXX_Unmarshal(b []byte) error
- type TLInboxUpdatePinnedMessage
- func (m *TLInboxUpdatePinnedMessage) CalcByteSize(layer int32) int
- func (m *TLInboxUpdatePinnedMessage) DebugString() string
- func (m *TLInboxUpdatePinnedMessage) Decode(dBuf *mtproto.DecodeBuf) error
- func (*TLInboxUpdatePinnedMessage) Descriptor() ([]byte, []int)
- func (m *TLInboxUpdatePinnedMessage) Encode(x *mtproto.EncodeBuf, layer int32) error
- func (m *TLInboxUpdatePinnedMessage) GetConstructor() TLConstructor
- func (m *TLInboxUpdatePinnedMessage) GetDialogMessageId() int64
- func (m *TLInboxUpdatePinnedMessage) GetId() int32
- func (m *TLInboxUpdatePinnedMessage) GetPeerId() int64
- func (m *TLInboxUpdatePinnedMessage) GetPeerType() int32
- func (m *TLInboxUpdatePinnedMessage) GetUnpin() bool
- func (m *TLInboxUpdatePinnedMessage) GetUserId() int64
- func (this *TLInboxUpdatePinnedMessage) GoString() string
- func (m *TLInboxUpdatePinnedMessage) Marshal() (dAtA []byte, err error)
- func (m *TLInboxUpdatePinnedMessage) MarshalTo(dAtA []byte) (int, error)
- func (m *TLInboxUpdatePinnedMessage) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TLInboxUpdatePinnedMessage) ProtoMessage()
- func (m *TLInboxUpdatePinnedMessage) Reset()
- func (m *TLInboxUpdatePinnedMessage) Size() (n int)
- func (m *TLInboxUpdatePinnedMessage) String() string
- func (m *TLInboxUpdatePinnedMessage) Unmarshal(dAtA []byte) error
- func (m *TLInboxUpdatePinnedMessage) XXX_DiscardUnknown()
- func (m *TLInboxUpdatePinnedMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TLInboxUpdatePinnedMessage) XXX_Merge(src proto.Message)
- func (m *TLInboxUpdatePinnedMessage) XXX_Size() int
- func (m *TLInboxUpdatePinnedMessage) XXX_Unmarshal(b []byte) error
- type UnimplementedRPCInboxServer
- func (*UnimplementedRPCInboxServer) InboxDeleteChatHistoryToInbox(ctx context.Context, req *TLInboxDeleteChatHistoryToInbox) (*mtproto.Void, error)
- func (*UnimplementedRPCInboxServer) InboxDeleteMessagesToInbox(ctx context.Context, req *TLInboxDeleteMessagesToInbox) (*mtproto.Void, error)
- func (*UnimplementedRPCInboxServer) InboxDeleteUserHistoryToInbox(ctx context.Context, req *TLInboxDeleteUserHistoryToInbox) (*mtproto.Void, error)
- func (*UnimplementedRPCInboxServer) InboxEditChatMessageToInbox(ctx context.Context, req *TLInboxEditChatMessageToInbox) (*mtproto.Void, error)
- func (*UnimplementedRPCInboxServer) InboxEditUserMessageToInbox(ctx context.Context, req *TLInboxEditUserMessageToInbox) (*mtproto.Void, error)
- func (*UnimplementedRPCInboxServer) InboxReadChatMediaUnreadToInbox(ctx context.Context, req *TLInboxReadChatMediaUnreadToInbox) (*mtproto.Void, error)
- func (*UnimplementedRPCInboxServer) InboxReadUserMediaUnreadToInbox(ctx context.Context, req *TLInboxReadUserMediaUnreadToInbox) (*mtproto.Void, error)
- func (*UnimplementedRPCInboxServer) InboxSendChatMessageToInbox(ctx context.Context, req *TLInboxSendChatMessageToInbox) (*mtproto.Void, error)
- func (*UnimplementedRPCInboxServer) InboxSendChatMultiMessageToInbox(ctx context.Context, req *TLInboxSendChatMultiMessageToInbox) (*mtproto.Void, error)
- func (*UnimplementedRPCInboxServer) InboxSendUserMessageToInbox(ctx context.Context, req *TLInboxSendUserMessageToInbox) (*mtproto.Void, error)
- func (*UnimplementedRPCInboxServer) InboxSendUserMultiMessageToInbox(ctx context.Context, req *TLInboxSendUserMultiMessageToInbox) (*mtproto.Void, error)
- func (*UnimplementedRPCInboxServer) InboxUnpinAllMessages(ctx context.Context, req *TLInboxUnpinAllMessages) (*mtproto.Void, error)
- func (*UnimplementedRPCInboxServer) InboxUpdateHistoryReaded(ctx context.Context, req *TLInboxUpdateHistoryReaded) (*mtproto.Void, error)
- func (*UnimplementedRPCInboxServer) InboxUpdatePinnedMessage(ctx context.Context, req *TLInboxUpdatePinnedMessage) (*mtproto.Void, error)
Constants ¶
const ( Predicate_inboxMessageData = "inboxMessageData" Predicate_inboxMessageId = "inboxMessageId" Predicate_inbox_sendUserMessageToInbox = "inbox_sendUserMessageToInbox" Predicate_inbox_sendChatMessageToInbox = "inbox_sendChatMessageToInbox" Predicate_inbox_sendUserMultiMessageToInbox = "inbox_sendUserMultiMessageToInbox" Predicate_inbox_sendChatMultiMessageToInbox = "inbox_sendChatMultiMessageToInbox" Predicate_inbox_editUserMessageToInbox = "inbox_editUserMessageToInbox" Predicate_inbox_editChatMessageToInbox = "inbox_editChatMessageToInbox" Predicate_inbox_deleteMessagesToInbox = "inbox_deleteMessagesToInbox" Predicate_inbox_deleteUserHistoryToInbox = "inbox_deleteUserHistoryToInbox" Predicate_inbox_deleteChatHistoryToInbox = "inbox_deleteChatHistoryToInbox" Predicate_inbox_readUserMediaUnreadToInbox = "inbox_readUserMediaUnreadToInbox" Predicate_inbox_readChatMediaUnreadToInbox = "inbox_readChatMediaUnreadToInbox" Predicate_inbox_updateHistoryReaded = "inbox_updateHistoryReaded" Predicate_inbox_updatePinnedMessage = "inbox_updatePinnedMessage" Predicate_inbox_unpinAllMessages = "inbox_unpinAllMessages" )
Variables ¶
var ( ErrInvalidLengthInboxTl = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowInboxTl = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupInboxTl = fmt.Errorf("proto: unexpected end of group") )
var TLConstructor_name = map[int32]string{
0: "CRC32_UNKNOWN",
1002286548: "CRC32_inboxMessageData",
-963460705: "CRC32_inboxMessageId",
-208741709: "CRC32_inbox_sendUserMessageToInbox",
-1760197438: "CRC32_inbox_sendChatMessageToInbox",
-1782288007: "CRC32_inbox_sendUserMultiMessageToInbox",
-694455924: "CRC32_inbox_sendChatMultiMessageToInbox",
1559967656: "CRC32_inbox_editUserMessageToInbox",
2031122959: "CRC32_inbox_editChatMessageToInbox",
-2061734348: "CRC32_inbox_deleteMessagesToInbox",
336232792: "CRC32_inbox_deleteUserHistoryToInbox",
-659905022: "CRC32_inbox_deleteChatHistoryToInbox",
364970827: "CRC32_inbox_readUserMediaUnreadToInbox",
1430347220: "CRC32_inbox_readChatMediaUnreadToInbox",
-1010283296: "CRC32_inbox_updateHistoryReaded",
-1452528908: "CRC32_inbox_updatePinnedMessage",
589079137: "CRC32_inbox_unpinAllMessages",
}
var TLConstructor_value = map[string]int32{
"CRC32_UNKNOWN": 0,
"CRC32_inboxMessageData": 1002286548,
"CRC32_inboxMessageId": -963460705,
"CRC32_inbox_sendUserMessageToInbox": -208741709,
"CRC32_inbox_sendChatMessageToInbox": -1760197438,
"CRC32_inbox_sendUserMultiMessageToInbox": -1782288007,
"CRC32_inbox_sendChatMultiMessageToInbox": -694455924,
"CRC32_inbox_editUserMessageToInbox": 1559967656,
"CRC32_inbox_editChatMessageToInbox": 2031122959,
"CRC32_inbox_deleteMessagesToInbox": -2061734348,
"CRC32_inbox_deleteUserHistoryToInbox": 336232792,
"CRC32_inbox_deleteChatHistoryToInbox": -659905022,
"CRC32_inbox_readUserMediaUnreadToInbox": 364970827,
"CRC32_inbox_readChatMediaUnreadToInbox": 1430347220,
"CRC32_inbox_updateHistoryReaded": -1010283296,
"CRC32_inbox_updatePinnedMessage": -1452528908,
"CRC32_inbox_unpinAllMessages": 589079137,
}
Functions ¶
func CheckClassID ¶
func GetClazzID ¶
func GetRPCContextRegisters ¶
func GetRPCContextRegisters() map[string]RPCContextTuple
func NewTLObjectByClassID ¶
func RegisterRPCInboxServer ¶
func RegisterRPCInboxServer(s *grpc.Server, srv RPCInboxServer)
Types ¶
type InboxMessageData ¶
type InboxMessageData struct { PredicateName string `protobuf:"bytes,1,opt,name=predicate_name,json=predicateName,proto3" json:"predicate_name,omitempty"` Constructor TLConstructor `protobuf:"varint,2,opt,name=constructor,proto3,enum=inbox.TLConstructor" json:"constructor,omitempty"` RandomId int64 `protobuf:"varint,3,opt,name=random_id,json=randomId,proto3" json:"random_id,omitempty"` DialogMessageId int64 `protobuf:"varint,4,opt,name=dialog_message_id,json=dialogMessageId,proto3" json:"dialog_message_id,omitempty"` Message *mtproto.Message `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
InboxMessageData <--
- TL_inboxMessageData
func (*InboxMessageData) CalcByteSize ¶
func (m *InboxMessageData) CalcByteSize(layer int32) int
func (*InboxMessageData) DebugString ¶
func (m *InboxMessageData) DebugString() string
func (*InboxMessageData) Descriptor ¶
func (*InboxMessageData) Descriptor() ([]byte, []int)
func (*InboxMessageData) Encode ¶
func (m *InboxMessageData) Encode(x *mtproto.EncodeBuf, layer int32) []byte
func (*InboxMessageData) GetConstructor ¶
func (m *InboxMessageData) GetConstructor() TLConstructor
func (*InboxMessageData) GetDialogMessageId ¶
func (m *InboxMessageData) GetDialogMessageId() int64
func (*InboxMessageData) GetMessage ¶
func (m *InboxMessageData) GetMessage() *mtproto.Message
func (*InboxMessageData) GetPredicateName ¶
func (m *InboxMessageData) GetPredicateName() string
func (*InboxMessageData) GetRandomId ¶
func (m *InboxMessageData) GetRandomId() int64
func (*InboxMessageData) GoString ¶
func (this *InboxMessageData) GoString() string
func (*InboxMessageData) Marshal ¶
func (m *InboxMessageData) Marshal() (dAtA []byte, err error)
func (*InboxMessageData) MarshalToSizedBuffer ¶
func (m *InboxMessageData) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*InboxMessageData) ProtoMessage ¶
func (*InboxMessageData) ProtoMessage()
func (*InboxMessageData) Reset ¶
func (m *InboxMessageData) Reset()
func (*InboxMessageData) Size ¶
func (m *InboxMessageData) Size() (n int)
func (*InboxMessageData) String ¶
func (m *InboxMessageData) String() string
func (*InboxMessageData) To_InboxMessageData ¶
func (m *InboxMessageData) To_InboxMessageData() *TLInboxMessageData
To_InboxMessageData
func (*InboxMessageData) Unmarshal ¶
func (m *InboxMessageData) Unmarshal(dAtA []byte) error
func (*InboxMessageData) XXX_DiscardUnknown ¶
func (m *InboxMessageData) XXX_DiscardUnknown()
func (*InboxMessageData) XXX_Marshal ¶
func (m *InboxMessageData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InboxMessageData) XXX_Merge ¶
func (m *InboxMessageData) XXX_Merge(src proto.Message)
func (*InboxMessageData) XXX_Size ¶
func (m *InboxMessageData) XXX_Size() int
func (*InboxMessageData) XXX_Unmarshal ¶
func (m *InboxMessageData) XXX_Unmarshal(b []byte) error
type InboxMessageId ¶ added in v0.87.3
type InboxMessageId struct { PredicateName string `protobuf:"bytes,1,opt,name=predicate_name,json=predicateName,proto3" json:"predicate_name,omitempty"` Constructor TLConstructor `protobuf:"varint,2,opt,name=constructor,proto3,enum=inbox.TLConstructor" json:"constructor,omitempty"` Id int32 `protobuf:"varint,3,opt,name=id,proto3" json:"id,omitempty"` DialogMessageId int64 `protobuf:"varint,4,opt,name=dialog_message_id,json=dialogMessageId,proto3" json:"dialog_message_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
InboxMessageId <--
- TL_inboxMessageId
func (*InboxMessageId) CalcByteSize ¶ added in v0.87.3
func (m *InboxMessageId) CalcByteSize(layer int32) int
func (*InboxMessageId) DebugString ¶ added in v0.87.3
func (m *InboxMessageId) DebugString() string
func (*InboxMessageId) Decode ¶ added in v0.87.3
func (m *InboxMessageId) Decode(dBuf *mtproto.DecodeBuf) error
func (*InboxMessageId) Descriptor ¶ added in v0.87.3
func (*InboxMessageId) Descriptor() ([]byte, []int)
func (*InboxMessageId) Encode ¶ added in v0.87.3
func (m *InboxMessageId) Encode(x *mtproto.EncodeBuf, layer int32) []byte
func (*InboxMessageId) GetConstructor ¶ added in v0.87.3
func (m *InboxMessageId) GetConstructor() TLConstructor
func (*InboxMessageId) GetDialogMessageId ¶ added in v0.87.3
func (m *InboxMessageId) GetDialogMessageId() int64
func (*InboxMessageId) GetId ¶ added in v0.87.3
func (m *InboxMessageId) GetId() int32
func (*InboxMessageId) GetPredicateName ¶ added in v0.87.3
func (m *InboxMessageId) GetPredicateName() string
func (*InboxMessageId) GoString ¶ added in v0.87.3
func (this *InboxMessageId) GoString() string
func (*InboxMessageId) Marshal ¶ added in v0.87.3
func (m *InboxMessageId) Marshal() (dAtA []byte, err error)
func (*InboxMessageId) MarshalTo ¶ added in v0.87.3
func (m *InboxMessageId) MarshalTo(dAtA []byte) (int, error)
func (*InboxMessageId) MarshalToSizedBuffer ¶ added in v0.87.3
func (m *InboxMessageId) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*InboxMessageId) ProtoMessage ¶ added in v0.87.3
func (*InboxMessageId) ProtoMessage()
func (*InboxMessageId) Reset ¶ added in v0.87.3
func (m *InboxMessageId) Reset()
func (*InboxMessageId) Size ¶ added in v0.87.3
func (m *InboxMessageId) Size() (n int)
func (*InboxMessageId) String ¶ added in v0.87.3
func (m *InboxMessageId) String() string
func (*InboxMessageId) To_InboxMessageId ¶ added in v0.87.3
func (m *InboxMessageId) To_InboxMessageId() *TLInboxMessageId
To_InboxMessageId
func (*InboxMessageId) Unmarshal ¶ added in v0.87.3
func (m *InboxMessageId) Unmarshal(dAtA []byte) error
func (*InboxMessageId) XXX_DiscardUnknown ¶ added in v0.87.3
func (m *InboxMessageId) XXX_DiscardUnknown()
func (*InboxMessageId) XXX_Marshal ¶ added in v0.87.3
func (m *InboxMessageId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InboxMessageId) XXX_Merge ¶ added in v0.87.3
func (m *InboxMessageId) XXX_Merge(src proto.Message)
func (*InboxMessageId) XXX_Size ¶ added in v0.87.3
func (m *InboxMessageId) XXX_Size() int
func (*InboxMessageId) XXX_Unmarshal ¶ added in v0.87.3
func (m *InboxMessageId) XXX_Unmarshal(b []byte) error
type RPCContextTuple ¶
type RPCContextTuple struct { Method string NewReplyFunc newRPCReplyFunc }
func FindRPCContextTuple ¶
func FindRPCContextTuple(t interface{}) *RPCContextTuple
type RPCInboxClient ¶
type RPCInboxClient interface { InboxSendUserMessageToInbox(ctx context.Context, in *TLInboxSendUserMessageToInbox, opts ...grpc.CallOption) (*mtproto.Void, error) InboxSendChatMessageToInbox(ctx context.Context, in *TLInboxSendChatMessageToInbox, opts ...grpc.CallOption) (*mtproto.Void, error) InboxSendUserMultiMessageToInbox(ctx context.Context, in *TLInboxSendUserMultiMessageToInbox, opts ...grpc.CallOption) (*mtproto.Void, error) InboxSendChatMultiMessageToInbox(ctx context.Context, in *TLInboxSendChatMultiMessageToInbox, opts ...grpc.CallOption) (*mtproto.Void, error) InboxEditUserMessageToInbox(ctx context.Context, in *TLInboxEditUserMessageToInbox, opts ...grpc.CallOption) (*mtproto.Void, error) InboxEditChatMessageToInbox(ctx context.Context, in *TLInboxEditChatMessageToInbox, opts ...grpc.CallOption) (*mtproto.Void, error) InboxDeleteMessagesToInbox(ctx context.Context, in *TLInboxDeleteMessagesToInbox, opts ...grpc.CallOption) (*mtproto.Void, error) InboxDeleteUserHistoryToInbox(ctx context.Context, in *TLInboxDeleteUserHistoryToInbox, opts ...grpc.CallOption) (*mtproto.Void, error) InboxDeleteChatHistoryToInbox(ctx context.Context, in *TLInboxDeleteChatHistoryToInbox, opts ...grpc.CallOption) (*mtproto.Void, error) InboxReadUserMediaUnreadToInbox(ctx context.Context, in *TLInboxReadUserMediaUnreadToInbox, opts ...grpc.CallOption) (*mtproto.Void, error) InboxReadChatMediaUnreadToInbox(ctx context.Context, in *TLInboxReadChatMediaUnreadToInbox, opts ...grpc.CallOption) (*mtproto.Void, error) InboxUpdateHistoryReaded(ctx context.Context, in *TLInboxUpdateHistoryReaded, opts ...grpc.CallOption) (*mtproto.Void, error) InboxUpdatePinnedMessage(ctx context.Context, in *TLInboxUpdatePinnedMessage, opts ...grpc.CallOption) (*mtproto.Void, error) InboxUnpinAllMessages(ctx context.Context, in *TLInboxUnpinAllMessages, opts ...grpc.CallOption) (*mtproto.Void, error) }
RPCInboxClient is the client API for RPCInbox service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewRPCInboxClient ¶
func NewRPCInboxClient(cc *grpc.ClientConn) RPCInboxClient
type RPCInboxServer ¶
type RPCInboxServer interface { InboxSendUserMessageToInbox(context.Context, *TLInboxSendUserMessageToInbox) (*mtproto.Void, error) InboxSendChatMessageToInbox(context.Context, *TLInboxSendChatMessageToInbox) (*mtproto.Void, error) InboxSendUserMultiMessageToInbox(context.Context, *TLInboxSendUserMultiMessageToInbox) (*mtproto.Void, error) InboxSendChatMultiMessageToInbox(context.Context, *TLInboxSendChatMultiMessageToInbox) (*mtproto.Void, error) InboxEditUserMessageToInbox(context.Context, *TLInboxEditUserMessageToInbox) (*mtproto.Void, error) InboxEditChatMessageToInbox(context.Context, *TLInboxEditChatMessageToInbox) (*mtproto.Void, error) InboxDeleteMessagesToInbox(context.Context, *TLInboxDeleteMessagesToInbox) (*mtproto.Void, error) InboxDeleteUserHistoryToInbox(context.Context, *TLInboxDeleteUserHistoryToInbox) (*mtproto.Void, error) InboxDeleteChatHistoryToInbox(context.Context, *TLInboxDeleteChatHistoryToInbox) (*mtproto.Void, error) InboxReadUserMediaUnreadToInbox(context.Context, *TLInboxReadUserMediaUnreadToInbox) (*mtproto.Void, error) InboxReadChatMediaUnreadToInbox(context.Context, *TLInboxReadChatMediaUnreadToInbox) (*mtproto.Void, error) InboxUpdateHistoryReaded(context.Context, *TLInboxUpdateHistoryReaded) (*mtproto.Void, error) InboxUpdatePinnedMessage(context.Context, *TLInboxUpdatePinnedMessage) (*mtproto.Void, error) InboxUnpinAllMessages(context.Context, *TLInboxUnpinAllMessages) (*mtproto.Void, error) }
RPCInboxServer is the server API for RPCInbox service.
type TLConstructor ¶
type TLConstructor int32
const ( CRC32_UNKNOWN TLConstructor = 0 CRC32_inboxMessageData TLConstructor = 1002286548 CRC32_inboxMessageId TLConstructor = -963460705 CRC32_inbox_sendUserMessageToInbox TLConstructor = -208741709 CRC32_inbox_sendChatMessageToInbox TLConstructor = -1760197438 CRC32_inbox_sendUserMultiMessageToInbox TLConstructor = -1782288007 CRC32_inbox_sendChatMultiMessageToInbox TLConstructor = -694455924 CRC32_inbox_editUserMessageToInbox TLConstructor = 1559967656 CRC32_inbox_editChatMessageToInbox TLConstructor = 2031122959 CRC32_inbox_deleteMessagesToInbox TLConstructor = -2061734348 CRC32_inbox_deleteUserHistoryToInbox TLConstructor = 336232792 CRC32_inbox_deleteChatHistoryToInbox TLConstructor = -659905022 CRC32_inbox_readUserMediaUnreadToInbox TLConstructor = 364970827 CRC32_inbox_readChatMediaUnreadToInbox TLConstructor = 1430347220 CRC32_inbox_updateHistoryReaded TLConstructor = -1010283296 CRC32_inbox_updatePinnedMessage TLConstructor = -1452528908 CRC32_inbox_unpinAllMessages TLConstructor = 589079137 )
func (TLConstructor) EnumDescriptor ¶
func (TLConstructor) EnumDescriptor() ([]byte, []int)
func (TLConstructor) String ¶
func (x TLConstructor) String() string
type TLInboxDeleteChatHistoryToInbox ¶
type TLInboxDeleteChatHistoryToInbox struct { Constructor TLConstructor `protobuf:"varint,1,opt,name=constructor,proto3,enum=inbox.TLConstructor" json:"constructor,omitempty"` FromId int64 `protobuf:"varint,3,opt,name=from_id,json=fromId,proto3" json:"from_id,omitempty"` PeerChatId int64 `protobuf:"varint,4,opt,name=peer_chat_id,json=peerChatId,proto3" json:"peer_chat_id,omitempty"` MaxId int32 `protobuf:"varint,5,opt,name=max_id,json=maxId,proto3" json:"max_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
--------------------------------------------------------------------------------------------
func (*TLInboxDeleteChatHistoryToInbox) CalcByteSize ¶
func (m *TLInboxDeleteChatHistoryToInbox) CalcByteSize(layer int32) int
func (*TLInboxDeleteChatHistoryToInbox) DebugString ¶
func (m *TLInboxDeleteChatHistoryToInbox) DebugString() string
func (*TLInboxDeleteChatHistoryToInbox) Decode ¶
func (m *TLInboxDeleteChatHistoryToInbox) Decode(dBuf *mtproto.DecodeBuf) error
func (*TLInboxDeleteChatHistoryToInbox) Descriptor ¶
func (*TLInboxDeleteChatHistoryToInbox) Descriptor() ([]byte, []int)
func (*TLInboxDeleteChatHistoryToInbox) Encode ¶
func (m *TLInboxDeleteChatHistoryToInbox) Encode(x *mtproto.EncodeBuf, layer int32) error
func (*TLInboxDeleteChatHistoryToInbox) GetConstructor ¶
func (m *TLInboxDeleteChatHistoryToInbox) GetConstructor() TLConstructor
func (*TLInboxDeleteChatHistoryToInbox) GetFromId ¶
func (m *TLInboxDeleteChatHistoryToInbox) GetFromId() int64
func (*TLInboxDeleteChatHistoryToInbox) GetMaxId ¶
func (m *TLInboxDeleteChatHistoryToInbox) GetMaxId() int32
func (*TLInboxDeleteChatHistoryToInbox) GetPeerChatId ¶
func (m *TLInboxDeleteChatHistoryToInbox) GetPeerChatId() int64
func (*TLInboxDeleteChatHistoryToInbox) GoString ¶
func (this *TLInboxDeleteChatHistoryToInbox) GoString() string
func (*TLInboxDeleteChatHistoryToInbox) Marshal ¶
func (m *TLInboxDeleteChatHistoryToInbox) Marshal() (dAtA []byte, err error)
func (*TLInboxDeleteChatHistoryToInbox) MarshalTo ¶
func (m *TLInboxDeleteChatHistoryToInbox) MarshalTo(dAtA []byte) (int, error)
func (*TLInboxDeleteChatHistoryToInbox) MarshalToSizedBuffer ¶
func (m *TLInboxDeleteChatHistoryToInbox) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TLInboxDeleteChatHistoryToInbox) ProtoMessage ¶
func (*TLInboxDeleteChatHistoryToInbox) ProtoMessage()
func (*TLInboxDeleteChatHistoryToInbox) Reset ¶
func (m *TLInboxDeleteChatHistoryToInbox) Reset()
func (*TLInboxDeleteChatHistoryToInbox) Size ¶
func (m *TLInboxDeleteChatHistoryToInbox) Size() (n int)
func (*TLInboxDeleteChatHistoryToInbox) String ¶
func (m *TLInboxDeleteChatHistoryToInbox) String() string
func (*TLInboxDeleteChatHistoryToInbox) Unmarshal ¶
func (m *TLInboxDeleteChatHistoryToInbox) Unmarshal(dAtA []byte) error
func (*TLInboxDeleteChatHistoryToInbox) XXX_DiscardUnknown ¶
func (m *TLInboxDeleteChatHistoryToInbox) XXX_DiscardUnknown()
func (*TLInboxDeleteChatHistoryToInbox) XXX_Marshal ¶
func (m *TLInboxDeleteChatHistoryToInbox) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TLInboxDeleteChatHistoryToInbox) XXX_Merge ¶
func (m *TLInboxDeleteChatHistoryToInbox) XXX_Merge(src proto.Message)
func (*TLInboxDeleteChatHistoryToInbox) XXX_Size ¶
func (m *TLInboxDeleteChatHistoryToInbox) XXX_Size() int
func (*TLInboxDeleteChatHistoryToInbox) XXX_Unmarshal ¶
func (m *TLInboxDeleteChatHistoryToInbox) XXX_Unmarshal(b []byte) error
type TLInboxDeleteMessagesToInbox ¶
type TLInboxDeleteMessagesToInbox struct { Constructor TLConstructor `protobuf:"varint,1,opt,name=constructor,proto3,enum=inbox.TLConstructor" json:"constructor,omitempty"` FromId int64 `protobuf:"varint,3,opt,name=from_id,json=fromId,proto3" json:"from_id,omitempty"` PeerType int32 `protobuf:"varint,4,opt,name=peer_type,json=peerType,proto3" json:"peer_type,omitempty"` PeerId int64 `protobuf:"varint,5,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"` Id []int64 `protobuf:"varint,6,rep,packed,name=id,proto3" json:"id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
--------------------------------------------------------------------------------------------
func (*TLInboxDeleteMessagesToInbox) CalcByteSize ¶
func (m *TLInboxDeleteMessagesToInbox) CalcByteSize(layer int32) int
func (*TLInboxDeleteMessagesToInbox) DebugString ¶
func (m *TLInboxDeleteMessagesToInbox) DebugString() string
func (*TLInboxDeleteMessagesToInbox) Decode ¶
func (m *TLInboxDeleteMessagesToInbox) Decode(dBuf *mtproto.DecodeBuf) error
func (*TLInboxDeleteMessagesToInbox) Descriptor ¶
func (*TLInboxDeleteMessagesToInbox) Descriptor() ([]byte, []int)
func (*TLInboxDeleteMessagesToInbox) Encode ¶
func (m *TLInboxDeleteMessagesToInbox) Encode(x *mtproto.EncodeBuf, layer int32) error
func (*TLInboxDeleteMessagesToInbox) GetConstructor ¶
func (m *TLInboxDeleteMessagesToInbox) GetConstructor() TLConstructor
func (*TLInboxDeleteMessagesToInbox) GetFromId ¶
func (m *TLInboxDeleteMessagesToInbox) GetFromId() int64
func (*TLInboxDeleteMessagesToInbox) GetId ¶
func (m *TLInboxDeleteMessagesToInbox) GetId() []int64
func (*TLInboxDeleteMessagesToInbox) GetPeerId ¶ added in v0.87.3
func (m *TLInboxDeleteMessagesToInbox) GetPeerId() int64
func (*TLInboxDeleteMessagesToInbox) GetPeerType ¶ added in v0.87.3
func (m *TLInboxDeleteMessagesToInbox) GetPeerType() int32
func (*TLInboxDeleteMessagesToInbox) GoString ¶
func (this *TLInboxDeleteMessagesToInbox) GoString() string
func (*TLInboxDeleteMessagesToInbox) Marshal ¶
func (m *TLInboxDeleteMessagesToInbox) Marshal() (dAtA []byte, err error)
func (*TLInboxDeleteMessagesToInbox) MarshalTo ¶
func (m *TLInboxDeleteMessagesToInbox) MarshalTo(dAtA []byte) (int, error)
func (*TLInboxDeleteMessagesToInbox) MarshalToSizedBuffer ¶
func (m *TLInboxDeleteMessagesToInbox) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TLInboxDeleteMessagesToInbox) ProtoMessage ¶
func (*TLInboxDeleteMessagesToInbox) ProtoMessage()
func (*TLInboxDeleteMessagesToInbox) Reset ¶
func (m *TLInboxDeleteMessagesToInbox) Reset()
func (*TLInboxDeleteMessagesToInbox) Size ¶
func (m *TLInboxDeleteMessagesToInbox) Size() (n int)
func (*TLInboxDeleteMessagesToInbox) String ¶
func (m *TLInboxDeleteMessagesToInbox) String() string
func (*TLInboxDeleteMessagesToInbox) Unmarshal ¶
func (m *TLInboxDeleteMessagesToInbox) Unmarshal(dAtA []byte) error
func (*TLInboxDeleteMessagesToInbox) XXX_DiscardUnknown ¶
func (m *TLInboxDeleteMessagesToInbox) XXX_DiscardUnknown()
func (*TLInboxDeleteMessagesToInbox) XXX_Marshal ¶
func (m *TLInboxDeleteMessagesToInbox) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TLInboxDeleteMessagesToInbox) XXX_Merge ¶
func (m *TLInboxDeleteMessagesToInbox) XXX_Merge(src proto.Message)
func (*TLInboxDeleteMessagesToInbox) XXX_Size ¶
func (m *TLInboxDeleteMessagesToInbox) XXX_Size() int
func (*TLInboxDeleteMessagesToInbox) XXX_Unmarshal ¶
func (m *TLInboxDeleteMessagesToInbox) XXX_Unmarshal(b []byte) error
type TLInboxDeleteUserHistoryToInbox ¶
type TLInboxDeleteUserHistoryToInbox struct { Constructor TLConstructor `protobuf:"varint,1,opt,name=constructor,proto3,enum=inbox.TLConstructor" json:"constructor,omitempty"` FromId int64 `protobuf:"varint,3,opt,name=from_id,json=fromId,proto3" json:"from_id,omitempty"` PeerUserId int64 `protobuf:"varint,4,opt,name=peer_user_id,json=peerUserId,proto3" json:"peer_user_id,omitempty"` JustClear bool `protobuf:"varint,5,opt,name=just_clear,json=justClear,proto3" json:"just_clear,omitempty"` MaxId int32 `protobuf:"varint,6,opt,name=max_id,json=maxId,proto3" json:"max_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
--------------------------------------------------------------------------------------------
func (*TLInboxDeleteUserHistoryToInbox) CalcByteSize ¶
func (m *TLInboxDeleteUserHistoryToInbox) CalcByteSize(layer int32) int
func (*TLInboxDeleteUserHistoryToInbox) DebugString ¶
func (m *TLInboxDeleteUserHistoryToInbox) DebugString() string
func (*TLInboxDeleteUserHistoryToInbox) Decode ¶
func (m *TLInboxDeleteUserHistoryToInbox) Decode(dBuf *mtproto.DecodeBuf) error
func (*TLInboxDeleteUserHistoryToInbox) Descriptor ¶
func (*TLInboxDeleteUserHistoryToInbox) Descriptor() ([]byte, []int)
func (*TLInboxDeleteUserHistoryToInbox) Encode ¶
func (m *TLInboxDeleteUserHistoryToInbox) Encode(x *mtproto.EncodeBuf, layer int32) error
func (*TLInboxDeleteUserHistoryToInbox) GetConstructor ¶
func (m *TLInboxDeleteUserHistoryToInbox) GetConstructor() TLConstructor
func (*TLInboxDeleteUserHistoryToInbox) GetFromId ¶
func (m *TLInboxDeleteUserHistoryToInbox) GetFromId() int64
func (*TLInboxDeleteUserHistoryToInbox) GetJustClear ¶
func (m *TLInboxDeleteUserHistoryToInbox) GetJustClear() bool
func (*TLInboxDeleteUserHistoryToInbox) GetMaxId ¶
func (m *TLInboxDeleteUserHistoryToInbox) GetMaxId() int32
func (*TLInboxDeleteUserHistoryToInbox) GetPeerUserId ¶
func (m *TLInboxDeleteUserHistoryToInbox) GetPeerUserId() int64
func (*TLInboxDeleteUserHistoryToInbox) GoString ¶
func (this *TLInboxDeleteUserHistoryToInbox) GoString() string
func (*TLInboxDeleteUserHistoryToInbox) Marshal ¶
func (m *TLInboxDeleteUserHistoryToInbox) Marshal() (dAtA []byte, err error)
func (*TLInboxDeleteUserHistoryToInbox) MarshalTo ¶
func (m *TLInboxDeleteUserHistoryToInbox) MarshalTo(dAtA []byte) (int, error)
func (*TLInboxDeleteUserHistoryToInbox) MarshalToSizedBuffer ¶
func (m *TLInboxDeleteUserHistoryToInbox) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TLInboxDeleteUserHistoryToInbox) ProtoMessage ¶
func (*TLInboxDeleteUserHistoryToInbox) ProtoMessage()
func (*TLInboxDeleteUserHistoryToInbox) Reset ¶
func (m *TLInboxDeleteUserHistoryToInbox) Reset()
func (*TLInboxDeleteUserHistoryToInbox) Size ¶
func (m *TLInboxDeleteUserHistoryToInbox) Size() (n int)
func (*TLInboxDeleteUserHistoryToInbox) String ¶
func (m *TLInboxDeleteUserHistoryToInbox) String() string
func (*TLInboxDeleteUserHistoryToInbox) Unmarshal ¶
func (m *TLInboxDeleteUserHistoryToInbox) Unmarshal(dAtA []byte) error
func (*TLInboxDeleteUserHistoryToInbox) XXX_DiscardUnknown ¶
func (m *TLInboxDeleteUserHistoryToInbox) XXX_DiscardUnknown()
func (*TLInboxDeleteUserHistoryToInbox) XXX_Marshal ¶
func (m *TLInboxDeleteUserHistoryToInbox) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TLInboxDeleteUserHistoryToInbox) XXX_Merge ¶
func (m *TLInboxDeleteUserHistoryToInbox) XXX_Merge(src proto.Message)
func (*TLInboxDeleteUserHistoryToInbox) XXX_Size ¶
func (m *TLInboxDeleteUserHistoryToInbox) XXX_Size() int
func (*TLInboxDeleteUserHistoryToInbox) XXX_Unmarshal ¶
func (m *TLInboxDeleteUserHistoryToInbox) XXX_Unmarshal(b []byte) error
type TLInboxEditChatMessageToInbox ¶
type TLInboxEditChatMessageToInbox struct { Constructor TLConstructor `protobuf:"varint,1,opt,name=constructor,proto3,enum=inbox.TLConstructor" json:"constructor,omitempty"` FromId int64 `protobuf:"varint,3,opt,name=from_id,json=fromId,proto3" json:"from_id,omitempty"` PeerChatId int64 `protobuf:"varint,4,opt,name=peer_chat_id,json=peerChatId,proto3" json:"peer_chat_id,omitempty"` Message *mtproto.Message `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
--------------------------------------------------------------------------------------------
func (*TLInboxEditChatMessageToInbox) CalcByteSize ¶
func (m *TLInboxEditChatMessageToInbox) CalcByteSize(layer int32) int
func (*TLInboxEditChatMessageToInbox) DebugString ¶
func (m *TLInboxEditChatMessageToInbox) DebugString() string
func (*TLInboxEditChatMessageToInbox) Decode ¶
func (m *TLInboxEditChatMessageToInbox) Decode(dBuf *mtproto.DecodeBuf) error
func (*TLInboxEditChatMessageToInbox) Descriptor ¶
func (*TLInboxEditChatMessageToInbox) Descriptor() ([]byte, []int)
func (*TLInboxEditChatMessageToInbox) Encode ¶
func (m *TLInboxEditChatMessageToInbox) Encode(x *mtproto.EncodeBuf, layer int32) error
func (*TLInboxEditChatMessageToInbox) GetConstructor ¶
func (m *TLInboxEditChatMessageToInbox) GetConstructor() TLConstructor
func (*TLInboxEditChatMessageToInbox) GetFromId ¶
func (m *TLInboxEditChatMessageToInbox) GetFromId() int64
func (*TLInboxEditChatMessageToInbox) GetMessage ¶
func (m *TLInboxEditChatMessageToInbox) GetMessage() *mtproto.Message
func (*TLInboxEditChatMessageToInbox) GetPeerChatId ¶
func (m *TLInboxEditChatMessageToInbox) GetPeerChatId() int64
func (*TLInboxEditChatMessageToInbox) GoString ¶
func (this *TLInboxEditChatMessageToInbox) GoString() string
func (*TLInboxEditChatMessageToInbox) Marshal ¶
func (m *TLInboxEditChatMessageToInbox) Marshal() (dAtA []byte, err error)
func (*TLInboxEditChatMessageToInbox) MarshalTo ¶
func (m *TLInboxEditChatMessageToInbox) MarshalTo(dAtA []byte) (int, error)
func (*TLInboxEditChatMessageToInbox) MarshalToSizedBuffer ¶
func (m *TLInboxEditChatMessageToInbox) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TLInboxEditChatMessageToInbox) ProtoMessage ¶
func (*TLInboxEditChatMessageToInbox) ProtoMessage()
func (*TLInboxEditChatMessageToInbox) Reset ¶
func (m *TLInboxEditChatMessageToInbox) Reset()
func (*TLInboxEditChatMessageToInbox) Size ¶
func (m *TLInboxEditChatMessageToInbox) Size() (n int)
func (*TLInboxEditChatMessageToInbox) String ¶
func (m *TLInboxEditChatMessageToInbox) String() string
func (*TLInboxEditChatMessageToInbox) Unmarshal ¶
func (m *TLInboxEditChatMessageToInbox) Unmarshal(dAtA []byte) error
func (*TLInboxEditChatMessageToInbox) XXX_DiscardUnknown ¶
func (m *TLInboxEditChatMessageToInbox) XXX_DiscardUnknown()
func (*TLInboxEditChatMessageToInbox) XXX_Marshal ¶
func (m *TLInboxEditChatMessageToInbox) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TLInboxEditChatMessageToInbox) XXX_Merge ¶
func (m *TLInboxEditChatMessageToInbox) XXX_Merge(src proto.Message)
func (*TLInboxEditChatMessageToInbox) XXX_Size ¶
func (m *TLInboxEditChatMessageToInbox) XXX_Size() int
func (*TLInboxEditChatMessageToInbox) XXX_Unmarshal ¶
func (m *TLInboxEditChatMessageToInbox) XXX_Unmarshal(b []byte) error
type TLInboxEditUserMessageToInbox ¶
type TLInboxEditUserMessageToInbox struct { Constructor TLConstructor `protobuf:"varint,1,opt,name=constructor,proto3,enum=inbox.TLConstructor" json:"constructor,omitempty"` FromId int64 `protobuf:"varint,3,opt,name=from_id,json=fromId,proto3" json:"from_id,omitempty"` PeerUserId int64 `protobuf:"varint,4,opt,name=peer_user_id,json=peerUserId,proto3" json:"peer_user_id,omitempty"` Message *mtproto.Message `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
--------------------------------------------------------------------------------------------
func (*TLInboxEditUserMessageToInbox) CalcByteSize ¶
func (m *TLInboxEditUserMessageToInbox) CalcByteSize(layer int32) int
func (*TLInboxEditUserMessageToInbox) DebugString ¶
func (m *TLInboxEditUserMessageToInbox) DebugString() string
func (*TLInboxEditUserMessageToInbox) Decode ¶
func (m *TLInboxEditUserMessageToInbox) Decode(dBuf *mtproto.DecodeBuf) error
func (*TLInboxEditUserMessageToInbox) Descriptor ¶
func (*TLInboxEditUserMessageToInbox) Descriptor() ([]byte, []int)
func (*TLInboxEditUserMessageToInbox) Encode ¶
func (m *TLInboxEditUserMessageToInbox) Encode(x *mtproto.EncodeBuf, layer int32) error
func (*TLInboxEditUserMessageToInbox) GetConstructor ¶
func (m *TLInboxEditUserMessageToInbox) GetConstructor() TLConstructor
func (*TLInboxEditUserMessageToInbox) GetFromId ¶
func (m *TLInboxEditUserMessageToInbox) GetFromId() int64
func (*TLInboxEditUserMessageToInbox) GetMessage ¶
func (m *TLInboxEditUserMessageToInbox) GetMessage() *mtproto.Message
func (*TLInboxEditUserMessageToInbox) GetPeerUserId ¶
func (m *TLInboxEditUserMessageToInbox) GetPeerUserId() int64
func (*TLInboxEditUserMessageToInbox) GoString ¶
func (this *TLInboxEditUserMessageToInbox) GoString() string
func (*TLInboxEditUserMessageToInbox) Marshal ¶
func (m *TLInboxEditUserMessageToInbox) Marshal() (dAtA []byte, err error)
func (*TLInboxEditUserMessageToInbox) MarshalTo ¶
func (m *TLInboxEditUserMessageToInbox) MarshalTo(dAtA []byte) (int, error)
func (*TLInboxEditUserMessageToInbox) MarshalToSizedBuffer ¶
func (m *TLInboxEditUserMessageToInbox) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TLInboxEditUserMessageToInbox) ProtoMessage ¶
func (*TLInboxEditUserMessageToInbox) ProtoMessage()
func (*TLInboxEditUserMessageToInbox) Reset ¶
func (m *TLInboxEditUserMessageToInbox) Reset()
func (*TLInboxEditUserMessageToInbox) Size ¶
func (m *TLInboxEditUserMessageToInbox) Size() (n int)
func (*TLInboxEditUserMessageToInbox) String ¶
func (m *TLInboxEditUserMessageToInbox) String() string
func (*TLInboxEditUserMessageToInbox) Unmarshal ¶
func (m *TLInboxEditUserMessageToInbox) Unmarshal(dAtA []byte) error
func (*TLInboxEditUserMessageToInbox) XXX_DiscardUnknown ¶
func (m *TLInboxEditUserMessageToInbox) XXX_DiscardUnknown()
func (*TLInboxEditUserMessageToInbox) XXX_Marshal ¶
func (m *TLInboxEditUserMessageToInbox) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TLInboxEditUserMessageToInbox) XXX_Merge ¶
func (m *TLInboxEditUserMessageToInbox) XXX_Merge(src proto.Message)
func (*TLInboxEditUserMessageToInbox) XXX_Size ¶
func (m *TLInboxEditUserMessageToInbox) XXX_Size() int
func (*TLInboxEditUserMessageToInbox) XXX_Unmarshal ¶
func (m *TLInboxEditUserMessageToInbox) XXX_Unmarshal(b []byte) error
type TLInboxMessageData ¶
type TLInboxMessageData struct { Data2 *InboxMessageData `protobuf:"bytes,1,opt,name=data2,proto3" json:"data2,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func MakeTLInboxMessageData ¶
func MakeTLInboxMessageData(data2 *InboxMessageData) *TLInboxMessageData
MakeTLInboxMessageData
func (*TLInboxMessageData) CalcByteSize ¶
func (m *TLInboxMessageData) CalcByteSize(layer int32) int
func (*TLInboxMessageData) DebugString ¶
func (m *TLInboxMessageData) DebugString() string
func (*TLInboxMessageData) Decode ¶
func (m *TLInboxMessageData) Decode(dBuf *mtproto.DecodeBuf) error
func (*TLInboxMessageData) Descriptor ¶
func (*TLInboxMessageData) Descriptor() ([]byte, []int)
func (*TLInboxMessageData) Encode ¶
func (m *TLInboxMessageData) Encode(x *mtproto.EncodeBuf, layer int32) error
func (*TLInboxMessageData) GetData2 ¶
func (m *TLInboxMessageData) GetData2() *InboxMessageData
func (*TLInboxMessageData) GetDialogMessageId ¶
func (m *TLInboxMessageData) GetDialogMessageId() int64
func (*TLInboxMessageData) GetMessage ¶
func (m *TLInboxMessageData) GetMessage() *mtproto.Message
func (*TLInboxMessageData) GetPredicateName ¶
func (m *TLInboxMessageData) GetPredicateName() string
func (*TLInboxMessageData) GetRandomId ¶
func (m *TLInboxMessageData) GetRandomId() int64
func (*TLInboxMessageData) GoString ¶
func (this *TLInboxMessageData) GoString() string
func (*TLInboxMessageData) Marshal ¶
func (m *TLInboxMessageData) Marshal() (dAtA []byte, err error)
func (*TLInboxMessageData) MarshalTo ¶
func (m *TLInboxMessageData) MarshalTo(dAtA []byte) (int, error)
func (*TLInboxMessageData) MarshalToSizedBuffer ¶
func (m *TLInboxMessageData) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TLInboxMessageData) ProtoMessage ¶
func (*TLInboxMessageData) ProtoMessage()
func (*TLInboxMessageData) Reset ¶
func (m *TLInboxMessageData) Reset()
func (*TLInboxMessageData) SetDialogMessageId ¶
func (m *TLInboxMessageData) SetDialogMessageId(v int64)
func (*TLInboxMessageData) SetMessage ¶
func (m *TLInboxMessageData) SetMessage(v *mtproto.Message)
func (*TLInboxMessageData) SetRandomId ¶
func (m *TLInboxMessageData) SetRandomId(v int64)
func (*TLInboxMessageData) Size ¶
func (m *TLInboxMessageData) Size() (n int)
func (*TLInboxMessageData) String ¶
func (m *TLInboxMessageData) String() string
func (*TLInboxMessageData) To_InboxMessageData ¶
func (m *TLInboxMessageData) To_InboxMessageData() *InboxMessageData
func (*TLInboxMessageData) Unmarshal ¶
func (m *TLInboxMessageData) Unmarshal(dAtA []byte) error
func (*TLInboxMessageData) XXX_DiscardUnknown ¶
func (m *TLInboxMessageData) XXX_DiscardUnknown()
func (*TLInboxMessageData) XXX_Marshal ¶
func (m *TLInboxMessageData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TLInboxMessageData) XXX_Merge ¶
func (m *TLInboxMessageData) XXX_Merge(src proto.Message)
func (*TLInboxMessageData) XXX_Size ¶
func (m *TLInboxMessageData) XXX_Size() int
func (*TLInboxMessageData) XXX_Unmarshal ¶
func (m *TLInboxMessageData) XXX_Unmarshal(b []byte) error
type TLInboxMessageId ¶ added in v0.87.3
type TLInboxMessageId struct { Data2 *InboxMessageId `protobuf:"bytes,1,opt,name=data2,proto3" json:"data2,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func MakeTLInboxMessageId ¶ added in v0.87.3
func MakeTLInboxMessageId(data2 *InboxMessageId) *TLInboxMessageId
MakeTLInboxMessageId
func (*TLInboxMessageId) CalcByteSize ¶ added in v0.87.3
func (m *TLInboxMessageId) CalcByteSize(layer int32) int
func (*TLInboxMessageId) DebugString ¶ added in v0.87.3
func (m *TLInboxMessageId) DebugString() string
func (*TLInboxMessageId) Decode ¶ added in v0.87.3
func (m *TLInboxMessageId) Decode(dBuf *mtproto.DecodeBuf) error
func (*TLInboxMessageId) Descriptor ¶ added in v0.87.3
func (*TLInboxMessageId) Descriptor() ([]byte, []int)
func (*TLInboxMessageId) Encode ¶ added in v0.87.3
func (m *TLInboxMessageId) Encode(x *mtproto.EncodeBuf, layer int32) error
func (*TLInboxMessageId) GetData2 ¶ added in v0.87.3
func (m *TLInboxMessageId) GetData2() *InboxMessageId
func (*TLInboxMessageId) GetDialogMessageId ¶ added in v0.87.3
func (m *TLInboxMessageId) GetDialogMessageId() int64
func (*TLInboxMessageId) GetId ¶ added in v0.87.3
func (m *TLInboxMessageId) GetId() int32
func (*TLInboxMessageId) GetPredicateName ¶ added in v0.87.3
func (m *TLInboxMessageId) GetPredicateName() string
func (*TLInboxMessageId) GoString ¶ added in v0.87.3
func (this *TLInboxMessageId) GoString() string
func (*TLInboxMessageId) Marshal ¶ added in v0.87.3
func (m *TLInboxMessageId) Marshal() (dAtA []byte, err error)
func (*TLInboxMessageId) MarshalTo ¶ added in v0.87.3
func (m *TLInboxMessageId) MarshalTo(dAtA []byte) (int, error)
func (*TLInboxMessageId) MarshalToSizedBuffer ¶ added in v0.87.3
func (m *TLInboxMessageId) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TLInboxMessageId) ProtoMessage ¶ added in v0.87.3
func (*TLInboxMessageId) ProtoMessage()
func (*TLInboxMessageId) Reset ¶ added in v0.87.3
func (m *TLInboxMessageId) Reset()
func (*TLInboxMessageId) SetDialogMessageId ¶ added in v0.87.3
func (m *TLInboxMessageId) SetDialogMessageId(v int64)
func (*TLInboxMessageId) SetId ¶ added in v0.87.3
func (m *TLInboxMessageId) SetId(v int32)
func (*TLInboxMessageId) Size ¶ added in v0.87.3
func (m *TLInboxMessageId) Size() (n int)
func (*TLInboxMessageId) String ¶ added in v0.87.3
func (m *TLInboxMessageId) String() string
func (*TLInboxMessageId) To_InboxMessageId ¶ added in v0.87.3
func (m *TLInboxMessageId) To_InboxMessageId() *InboxMessageId
func (*TLInboxMessageId) Unmarshal ¶ added in v0.87.3
func (m *TLInboxMessageId) Unmarshal(dAtA []byte) error
func (*TLInboxMessageId) XXX_DiscardUnknown ¶ added in v0.87.3
func (m *TLInboxMessageId) XXX_DiscardUnknown()
func (*TLInboxMessageId) XXX_Marshal ¶ added in v0.87.3
func (m *TLInboxMessageId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TLInboxMessageId) XXX_Merge ¶ added in v0.87.3
func (m *TLInboxMessageId) XXX_Merge(src proto.Message)
func (*TLInboxMessageId) XXX_Size ¶ added in v0.87.3
func (m *TLInboxMessageId) XXX_Size() int
func (*TLInboxMessageId) XXX_Unmarshal ¶ added in v0.87.3
func (m *TLInboxMessageId) XXX_Unmarshal(b []byte) error
type TLInboxReadChatMediaUnreadToInbox ¶
type TLInboxReadChatMediaUnreadToInbox struct { Constructor TLConstructor `protobuf:"varint,1,opt,name=constructor,proto3,enum=inbox.TLConstructor" json:"constructor,omitempty"` FromId int64 `protobuf:"varint,3,opt,name=from_id,json=fromId,proto3" json:"from_id,omitempty"` PeerChatId int64 `protobuf:"varint,4,opt,name=peer_chat_id,json=peerChatId,proto3" json:"peer_chat_id,omitempty"` Id []*InboxMessageId `protobuf:"bytes,5,rep,name=id,proto3" json:"id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
--------------------------------------------------------------------------------------------
func (*TLInboxReadChatMediaUnreadToInbox) CalcByteSize ¶
func (m *TLInboxReadChatMediaUnreadToInbox) CalcByteSize(layer int32) int
func (*TLInboxReadChatMediaUnreadToInbox) DebugString ¶
func (m *TLInboxReadChatMediaUnreadToInbox) DebugString() string
func (*TLInboxReadChatMediaUnreadToInbox) Decode ¶
func (m *TLInboxReadChatMediaUnreadToInbox) Decode(dBuf *mtproto.DecodeBuf) error
func (*TLInboxReadChatMediaUnreadToInbox) Descriptor ¶
func (*TLInboxReadChatMediaUnreadToInbox) Descriptor() ([]byte, []int)
func (*TLInboxReadChatMediaUnreadToInbox) Encode ¶
func (m *TLInboxReadChatMediaUnreadToInbox) Encode(x *mtproto.EncodeBuf, layer int32) error
func (*TLInboxReadChatMediaUnreadToInbox) GetConstructor ¶
func (m *TLInboxReadChatMediaUnreadToInbox) GetConstructor() TLConstructor
func (*TLInboxReadChatMediaUnreadToInbox) GetFromId ¶
func (m *TLInboxReadChatMediaUnreadToInbox) GetFromId() int64
func (*TLInboxReadChatMediaUnreadToInbox) GetId ¶
func (m *TLInboxReadChatMediaUnreadToInbox) GetId() []*InboxMessageId
func (*TLInboxReadChatMediaUnreadToInbox) GetPeerChatId ¶
func (m *TLInboxReadChatMediaUnreadToInbox) GetPeerChatId() int64
func (*TLInboxReadChatMediaUnreadToInbox) GoString ¶
func (this *TLInboxReadChatMediaUnreadToInbox) GoString() string
func (*TLInboxReadChatMediaUnreadToInbox) Marshal ¶
func (m *TLInboxReadChatMediaUnreadToInbox) Marshal() (dAtA []byte, err error)
func (*TLInboxReadChatMediaUnreadToInbox) MarshalTo ¶
func (m *TLInboxReadChatMediaUnreadToInbox) MarshalTo(dAtA []byte) (int, error)
func (*TLInboxReadChatMediaUnreadToInbox) MarshalToSizedBuffer ¶
func (m *TLInboxReadChatMediaUnreadToInbox) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TLInboxReadChatMediaUnreadToInbox) ProtoMessage ¶
func (*TLInboxReadChatMediaUnreadToInbox) ProtoMessage()
func (*TLInboxReadChatMediaUnreadToInbox) Reset ¶
func (m *TLInboxReadChatMediaUnreadToInbox) Reset()
func (*TLInboxReadChatMediaUnreadToInbox) Size ¶
func (m *TLInboxReadChatMediaUnreadToInbox) Size() (n int)
func (*TLInboxReadChatMediaUnreadToInbox) String ¶
func (m *TLInboxReadChatMediaUnreadToInbox) String() string
func (*TLInboxReadChatMediaUnreadToInbox) Unmarshal ¶
func (m *TLInboxReadChatMediaUnreadToInbox) Unmarshal(dAtA []byte) error
func (*TLInboxReadChatMediaUnreadToInbox) XXX_DiscardUnknown ¶
func (m *TLInboxReadChatMediaUnreadToInbox) XXX_DiscardUnknown()
func (*TLInboxReadChatMediaUnreadToInbox) XXX_Marshal ¶
func (m *TLInboxReadChatMediaUnreadToInbox) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TLInboxReadChatMediaUnreadToInbox) XXX_Merge ¶
func (m *TLInboxReadChatMediaUnreadToInbox) XXX_Merge(src proto.Message)
func (*TLInboxReadChatMediaUnreadToInbox) XXX_Size ¶
func (m *TLInboxReadChatMediaUnreadToInbox) XXX_Size() int
func (*TLInboxReadChatMediaUnreadToInbox) XXX_Unmarshal ¶
func (m *TLInboxReadChatMediaUnreadToInbox) XXX_Unmarshal(b []byte) error
type TLInboxReadUserMediaUnreadToInbox ¶
type TLInboxReadUserMediaUnreadToInbox struct { Constructor TLConstructor `protobuf:"varint,1,opt,name=constructor,proto3,enum=inbox.TLConstructor" json:"constructor,omitempty"` FromId int64 `protobuf:"varint,3,opt,name=from_id,json=fromId,proto3" json:"from_id,omitempty"` PeerUserId int64 `protobuf:"varint,4,opt,name=peer_user_id,json=peerUserId,proto3" json:"peer_user_id,omitempty"` Id []*InboxMessageId `protobuf:"bytes,5,rep,name=id,proto3" json:"id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
--------------------------------------------------------------------------------------------
func (*TLInboxReadUserMediaUnreadToInbox) CalcByteSize ¶
func (m *TLInboxReadUserMediaUnreadToInbox) CalcByteSize(layer int32) int
func (*TLInboxReadUserMediaUnreadToInbox) DebugString ¶
func (m *TLInboxReadUserMediaUnreadToInbox) DebugString() string
func (*TLInboxReadUserMediaUnreadToInbox) Decode ¶
func (m *TLInboxReadUserMediaUnreadToInbox) Decode(dBuf *mtproto.DecodeBuf) error
func (*TLInboxReadUserMediaUnreadToInbox) Descriptor ¶
func (*TLInboxReadUserMediaUnreadToInbox) Descriptor() ([]byte, []int)
func (*TLInboxReadUserMediaUnreadToInbox) Encode ¶
func (m *TLInboxReadUserMediaUnreadToInbox) Encode(x *mtproto.EncodeBuf, layer int32) error
func (*TLInboxReadUserMediaUnreadToInbox) GetConstructor ¶
func (m *TLInboxReadUserMediaUnreadToInbox) GetConstructor() TLConstructor
func (*TLInboxReadUserMediaUnreadToInbox) GetFromId ¶
func (m *TLInboxReadUserMediaUnreadToInbox) GetFromId() int64
func (*TLInboxReadUserMediaUnreadToInbox) GetId ¶
func (m *TLInboxReadUserMediaUnreadToInbox) GetId() []*InboxMessageId
func (*TLInboxReadUserMediaUnreadToInbox) GetPeerUserId ¶ added in v0.87.3
func (m *TLInboxReadUserMediaUnreadToInbox) GetPeerUserId() int64
func (*TLInboxReadUserMediaUnreadToInbox) GoString ¶
func (this *TLInboxReadUserMediaUnreadToInbox) GoString() string
func (*TLInboxReadUserMediaUnreadToInbox) Marshal ¶
func (m *TLInboxReadUserMediaUnreadToInbox) Marshal() (dAtA []byte, err error)
func (*TLInboxReadUserMediaUnreadToInbox) MarshalTo ¶
func (m *TLInboxReadUserMediaUnreadToInbox) MarshalTo(dAtA []byte) (int, error)
func (*TLInboxReadUserMediaUnreadToInbox) MarshalToSizedBuffer ¶
func (m *TLInboxReadUserMediaUnreadToInbox) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TLInboxReadUserMediaUnreadToInbox) ProtoMessage ¶
func (*TLInboxReadUserMediaUnreadToInbox) ProtoMessage()
func (*TLInboxReadUserMediaUnreadToInbox) Reset ¶
func (m *TLInboxReadUserMediaUnreadToInbox) Reset()
func (*TLInboxReadUserMediaUnreadToInbox) Size ¶
func (m *TLInboxReadUserMediaUnreadToInbox) Size() (n int)
func (*TLInboxReadUserMediaUnreadToInbox) String ¶
func (m *TLInboxReadUserMediaUnreadToInbox) String() string
func (*TLInboxReadUserMediaUnreadToInbox) Unmarshal ¶
func (m *TLInboxReadUserMediaUnreadToInbox) Unmarshal(dAtA []byte) error
func (*TLInboxReadUserMediaUnreadToInbox) XXX_DiscardUnknown ¶
func (m *TLInboxReadUserMediaUnreadToInbox) XXX_DiscardUnknown()
func (*TLInboxReadUserMediaUnreadToInbox) XXX_Marshal ¶
func (m *TLInboxReadUserMediaUnreadToInbox) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TLInboxReadUserMediaUnreadToInbox) XXX_Merge ¶
func (m *TLInboxReadUserMediaUnreadToInbox) XXX_Merge(src proto.Message)
func (*TLInboxReadUserMediaUnreadToInbox) XXX_Size ¶
func (m *TLInboxReadUserMediaUnreadToInbox) XXX_Size() int
func (*TLInboxReadUserMediaUnreadToInbox) XXX_Unmarshal ¶
func (m *TLInboxReadUserMediaUnreadToInbox) XXX_Unmarshal(b []byte) error
type TLInboxSendChatMessageToInbox ¶
type TLInboxSendChatMessageToInbox struct { Constructor TLConstructor `protobuf:"varint,1,opt,name=constructor,proto3,enum=inbox.TLConstructor" json:"constructor,omitempty"` FromId int64 `protobuf:"varint,3,opt,name=from_id,json=fromId,proto3" json:"from_id,omitempty"` PeerChatId int64 `protobuf:"varint,4,opt,name=peer_chat_id,json=peerChatId,proto3" json:"peer_chat_id,omitempty"` Message *InboxMessageData `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
--------------------------------------------------------------------------------------------
func (*TLInboxSendChatMessageToInbox) CalcByteSize ¶
func (m *TLInboxSendChatMessageToInbox) CalcByteSize(layer int32) int
func (*TLInboxSendChatMessageToInbox) DebugString ¶
func (m *TLInboxSendChatMessageToInbox) DebugString() string
func (*TLInboxSendChatMessageToInbox) Decode ¶
func (m *TLInboxSendChatMessageToInbox) Decode(dBuf *mtproto.DecodeBuf) error
func (*TLInboxSendChatMessageToInbox) Descriptor ¶
func (*TLInboxSendChatMessageToInbox) Descriptor() ([]byte, []int)
func (*TLInboxSendChatMessageToInbox) Encode ¶
func (m *TLInboxSendChatMessageToInbox) Encode(x *mtproto.EncodeBuf, layer int32) error
func (*TLInboxSendChatMessageToInbox) GetConstructor ¶
func (m *TLInboxSendChatMessageToInbox) GetConstructor() TLConstructor
func (*TLInboxSendChatMessageToInbox) GetFromId ¶
func (m *TLInboxSendChatMessageToInbox) GetFromId() int64
func (*TLInboxSendChatMessageToInbox) GetMessage ¶
func (m *TLInboxSendChatMessageToInbox) GetMessage() *InboxMessageData
func (*TLInboxSendChatMessageToInbox) GetPeerChatId ¶
func (m *TLInboxSendChatMessageToInbox) GetPeerChatId() int64
func (*TLInboxSendChatMessageToInbox) GoString ¶
func (this *TLInboxSendChatMessageToInbox) GoString() string
func (*TLInboxSendChatMessageToInbox) Marshal ¶
func (m *TLInboxSendChatMessageToInbox) Marshal() (dAtA []byte, err error)
func (*TLInboxSendChatMessageToInbox) MarshalTo ¶
func (m *TLInboxSendChatMessageToInbox) MarshalTo(dAtA []byte) (int, error)
func (*TLInboxSendChatMessageToInbox) MarshalToSizedBuffer ¶
func (m *TLInboxSendChatMessageToInbox) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TLInboxSendChatMessageToInbox) ProtoMessage ¶
func (*TLInboxSendChatMessageToInbox) ProtoMessage()
func (*TLInboxSendChatMessageToInbox) Reset ¶
func (m *TLInboxSendChatMessageToInbox) Reset()
func (*TLInboxSendChatMessageToInbox) Size ¶
func (m *TLInboxSendChatMessageToInbox) Size() (n int)
func (*TLInboxSendChatMessageToInbox) String ¶
func (m *TLInboxSendChatMessageToInbox) String() string
func (*TLInboxSendChatMessageToInbox) Unmarshal ¶
func (m *TLInboxSendChatMessageToInbox) Unmarshal(dAtA []byte) error
func (*TLInboxSendChatMessageToInbox) XXX_DiscardUnknown ¶
func (m *TLInboxSendChatMessageToInbox) XXX_DiscardUnknown()
func (*TLInboxSendChatMessageToInbox) XXX_Marshal ¶
func (m *TLInboxSendChatMessageToInbox) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TLInboxSendChatMessageToInbox) XXX_Merge ¶
func (m *TLInboxSendChatMessageToInbox) XXX_Merge(src proto.Message)
func (*TLInboxSendChatMessageToInbox) XXX_Size ¶
func (m *TLInboxSendChatMessageToInbox) XXX_Size() int
func (*TLInboxSendChatMessageToInbox) XXX_Unmarshal ¶
func (m *TLInboxSendChatMessageToInbox) XXX_Unmarshal(b []byte) error
type TLInboxSendChatMultiMessageToInbox ¶
type TLInboxSendChatMultiMessageToInbox struct { Constructor TLConstructor `protobuf:"varint,1,opt,name=constructor,proto3,enum=inbox.TLConstructor" json:"constructor,omitempty"` FromId int64 `protobuf:"varint,3,opt,name=from_id,json=fromId,proto3" json:"from_id,omitempty"` PeerChatId int64 `protobuf:"varint,4,opt,name=peer_chat_id,json=peerChatId,proto3" json:"peer_chat_id,omitempty"` Message []*InboxMessageData `protobuf:"bytes,5,rep,name=message,proto3" json:"message,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
--------------------------------------------------------------------------------------------
func (*TLInboxSendChatMultiMessageToInbox) CalcByteSize ¶
func (m *TLInboxSendChatMultiMessageToInbox) CalcByteSize(layer int32) int
func (*TLInboxSendChatMultiMessageToInbox) DebugString ¶
func (m *TLInboxSendChatMultiMessageToInbox) DebugString() string
func (*TLInboxSendChatMultiMessageToInbox) Decode ¶
func (m *TLInboxSendChatMultiMessageToInbox) Decode(dBuf *mtproto.DecodeBuf) error
func (*TLInboxSendChatMultiMessageToInbox) Descriptor ¶
func (*TLInboxSendChatMultiMessageToInbox) Descriptor() ([]byte, []int)
func (*TLInboxSendChatMultiMessageToInbox) Encode ¶
func (m *TLInboxSendChatMultiMessageToInbox) Encode(x *mtproto.EncodeBuf, layer int32) error
func (*TLInboxSendChatMultiMessageToInbox) GetConstructor ¶
func (m *TLInboxSendChatMultiMessageToInbox) GetConstructor() TLConstructor
func (*TLInboxSendChatMultiMessageToInbox) GetFromId ¶
func (m *TLInboxSendChatMultiMessageToInbox) GetFromId() int64
func (*TLInboxSendChatMultiMessageToInbox) GetMessage ¶
func (m *TLInboxSendChatMultiMessageToInbox) GetMessage() []*InboxMessageData
func (*TLInboxSendChatMultiMessageToInbox) GetPeerChatId ¶
func (m *TLInboxSendChatMultiMessageToInbox) GetPeerChatId() int64
func (*TLInboxSendChatMultiMessageToInbox) GoString ¶
func (this *TLInboxSendChatMultiMessageToInbox) GoString() string
func (*TLInboxSendChatMultiMessageToInbox) Marshal ¶
func (m *TLInboxSendChatMultiMessageToInbox) Marshal() (dAtA []byte, err error)
func (*TLInboxSendChatMultiMessageToInbox) MarshalTo ¶
func (m *TLInboxSendChatMultiMessageToInbox) MarshalTo(dAtA []byte) (int, error)
func (*TLInboxSendChatMultiMessageToInbox) MarshalToSizedBuffer ¶
func (m *TLInboxSendChatMultiMessageToInbox) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TLInboxSendChatMultiMessageToInbox) ProtoMessage ¶
func (*TLInboxSendChatMultiMessageToInbox) ProtoMessage()
func (*TLInboxSendChatMultiMessageToInbox) Reset ¶
func (m *TLInboxSendChatMultiMessageToInbox) Reset()
func (*TLInboxSendChatMultiMessageToInbox) Size ¶
func (m *TLInboxSendChatMultiMessageToInbox) Size() (n int)
func (*TLInboxSendChatMultiMessageToInbox) String ¶
func (m *TLInboxSendChatMultiMessageToInbox) String() string
func (*TLInboxSendChatMultiMessageToInbox) Unmarshal ¶
func (m *TLInboxSendChatMultiMessageToInbox) Unmarshal(dAtA []byte) error
func (*TLInboxSendChatMultiMessageToInbox) XXX_DiscardUnknown ¶
func (m *TLInboxSendChatMultiMessageToInbox) XXX_DiscardUnknown()
func (*TLInboxSendChatMultiMessageToInbox) XXX_Marshal ¶
func (m *TLInboxSendChatMultiMessageToInbox) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TLInboxSendChatMultiMessageToInbox) XXX_Merge ¶
func (m *TLInboxSendChatMultiMessageToInbox) XXX_Merge(src proto.Message)
func (*TLInboxSendChatMultiMessageToInbox) XXX_Size ¶
func (m *TLInboxSendChatMultiMessageToInbox) XXX_Size() int
func (*TLInboxSendChatMultiMessageToInbox) XXX_Unmarshal ¶
func (m *TLInboxSendChatMultiMessageToInbox) XXX_Unmarshal(b []byte) error
type TLInboxSendUserMessageToInbox ¶
type TLInboxSendUserMessageToInbox struct { Constructor TLConstructor `protobuf:"varint,1,opt,name=constructor,proto3,enum=inbox.TLConstructor" json:"constructor,omitempty"` FromId int64 `protobuf:"varint,3,opt,name=from_id,json=fromId,proto3" json:"from_id,omitempty"` PeerUserId int64 `protobuf:"varint,4,opt,name=peer_user_id,json=peerUserId,proto3" json:"peer_user_id,omitempty"` Message *InboxMessageData `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
--------------------------------------------------------------------------------------------
func (*TLInboxSendUserMessageToInbox) CalcByteSize ¶
func (m *TLInboxSendUserMessageToInbox) CalcByteSize(layer int32) int
func (*TLInboxSendUserMessageToInbox) DebugString ¶
func (m *TLInboxSendUserMessageToInbox) DebugString() string
func (*TLInboxSendUserMessageToInbox) Decode ¶
func (m *TLInboxSendUserMessageToInbox) Decode(dBuf *mtproto.DecodeBuf) error
func (*TLInboxSendUserMessageToInbox) Descriptor ¶
func (*TLInboxSendUserMessageToInbox) Descriptor() ([]byte, []int)
func (*TLInboxSendUserMessageToInbox) Encode ¶
func (m *TLInboxSendUserMessageToInbox) Encode(x *mtproto.EncodeBuf, layer int32) error
func (*TLInboxSendUserMessageToInbox) GetConstructor ¶
func (m *TLInboxSendUserMessageToInbox) GetConstructor() TLConstructor
func (*TLInboxSendUserMessageToInbox) GetFromId ¶
func (m *TLInboxSendUserMessageToInbox) GetFromId() int64
func (*TLInboxSendUserMessageToInbox) GetMessage ¶
func (m *TLInboxSendUserMessageToInbox) GetMessage() *InboxMessageData
func (*TLInboxSendUserMessageToInbox) GetPeerUserId ¶
func (m *TLInboxSendUserMessageToInbox) GetPeerUserId() int64
func (*TLInboxSendUserMessageToInbox) GoString ¶
func (this *TLInboxSendUserMessageToInbox) GoString() string
func (*TLInboxSendUserMessageToInbox) Marshal ¶
func (m *TLInboxSendUserMessageToInbox) Marshal() (dAtA []byte, err error)
func (*TLInboxSendUserMessageToInbox) MarshalTo ¶
func (m *TLInboxSendUserMessageToInbox) MarshalTo(dAtA []byte) (int, error)
func (*TLInboxSendUserMessageToInbox) MarshalToSizedBuffer ¶
func (m *TLInboxSendUserMessageToInbox) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TLInboxSendUserMessageToInbox) ProtoMessage ¶
func (*TLInboxSendUserMessageToInbox) ProtoMessage()
func (*TLInboxSendUserMessageToInbox) Reset ¶
func (m *TLInboxSendUserMessageToInbox) Reset()
func (*TLInboxSendUserMessageToInbox) Size ¶
func (m *TLInboxSendUserMessageToInbox) Size() (n int)
func (*TLInboxSendUserMessageToInbox) String ¶
func (m *TLInboxSendUserMessageToInbox) String() string
func (*TLInboxSendUserMessageToInbox) Unmarshal ¶
func (m *TLInboxSendUserMessageToInbox) Unmarshal(dAtA []byte) error
func (*TLInboxSendUserMessageToInbox) XXX_DiscardUnknown ¶
func (m *TLInboxSendUserMessageToInbox) XXX_DiscardUnknown()
func (*TLInboxSendUserMessageToInbox) XXX_Marshal ¶
func (m *TLInboxSendUserMessageToInbox) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TLInboxSendUserMessageToInbox) XXX_Merge ¶
func (m *TLInboxSendUserMessageToInbox) XXX_Merge(src proto.Message)
func (*TLInboxSendUserMessageToInbox) XXX_Size ¶
func (m *TLInboxSendUserMessageToInbox) XXX_Size() int
func (*TLInboxSendUserMessageToInbox) XXX_Unmarshal ¶
func (m *TLInboxSendUserMessageToInbox) XXX_Unmarshal(b []byte) error
type TLInboxSendUserMultiMessageToInbox ¶
type TLInboxSendUserMultiMessageToInbox struct { Constructor TLConstructor `protobuf:"varint,1,opt,name=constructor,proto3,enum=inbox.TLConstructor" json:"constructor,omitempty"` FromId int64 `protobuf:"varint,3,opt,name=from_id,json=fromId,proto3" json:"from_id,omitempty"` PeerUserId int64 `protobuf:"varint,4,opt,name=peer_user_id,json=peerUserId,proto3" json:"peer_user_id,omitempty"` Message []*InboxMessageData `protobuf:"bytes,5,rep,name=message,proto3" json:"message,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
--------------------------------------------------------------------------------------------
func (*TLInboxSendUserMultiMessageToInbox) CalcByteSize ¶
func (m *TLInboxSendUserMultiMessageToInbox) CalcByteSize(layer int32) int
func (*TLInboxSendUserMultiMessageToInbox) DebugString ¶
func (m *TLInboxSendUserMultiMessageToInbox) DebugString() string
func (*TLInboxSendUserMultiMessageToInbox) Decode ¶
func (m *TLInboxSendUserMultiMessageToInbox) Decode(dBuf *mtproto.DecodeBuf) error
func (*TLInboxSendUserMultiMessageToInbox) Descriptor ¶
func (*TLInboxSendUserMultiMessageToInbox) Descriptor() ([]byte, []int)
func (*TLInboxSendUserMultiMessageToInbox) Encode ¶
func (m *TLInboxSendUserMultiMessageToInbox) Encode(x *mtproto.EncodeBuf, layer int32) error
func (*TLInboxSendUserMultiMessageToInbox) GetConstructor ¶
func (m *TLInboxSendUserMultiMessageToInbox) GetConstructor() TLConstructor
func (*TLInboxSendUserMultiMessageToInbox) GetFromId ¶
func (m *TLInboxSendUserMultiMessageToInbox) GetFromId() int64
func (*TLInboxSendUserMultiMessageToInbox) GetMessage ¶
func (m *TLInboxSendUserMultiMessageToInbox) GetMessage() []*InboxMessageData
func (*TLInboxSendUserMultiMessageToInbox) GetPeerUserId ¶
func (m *TLInboxSendUserMultiMessageToInbox) GetPeerUserId() int64
func (*TLInboxSendUserMultiMessageToInbox) GoString ¶
func (this *TLInboxSendUserMultiMessageToInbox) GoString() string
func (*TLInboxSendUserMultiMessageToInbox) Marshal ¶
func (m *TLInboxSendUserMultiMessageToInbox) Marshal() (dAtA []byte, err error)
func (*TLInboxSendUserMultiMessageToInbox) MarshalTo ¶
func (m *TLInboxSendUserMultiMessageToInbox) MarshalTo(dAtA []byte) (int, error)
func (*TLInboxSendUserMultiMessageToInbox) MarshalToSizedBuffer ¶
func (m *TLInboxSendUserMultiMessageToInbox) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TLInboxSendUserMultiMessageToInbox) ProtoMessage ¶
func (*TLInboxSendUserMultiMessageToInbox) ProtoMessage()
func (*TLInboxSendUserMultiMessageToInbox) Reset ¶
func (m *TLInboxSendUserMultiMessageToInbox) Reset()
func (*TLInboxSendUserMultiMessageToInbox) Size ¶
func (m *TLInboxSendUserMultiMessageToInbox) Size() (n int)
func (*TLInboxSendUserMultiMessageToInbox) String ¶
func (m *TLInboxSendUserMultiMessageToInbox) String() string
func (*TLInboxSendUserMultiMessageToInbox) Unmarshal ¶
func (m *TLInboxSendUserMultiMessageToInbox) Unmarshal(dAtA []byte) error
func (*TLInboxSendUserMultiMessageToInbox) XXX_DiscardUnknown ¶
func (m *TLInboxSendUserMultiMessageToInbox) XXX_DiscardUnknown()
func (*TLInboxSendUserMultiMessageToInbox) XXX_Marshal ¶
func (m *TLInboxSendUserMultiMessageToInbox) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TLInboxSendUserMultiMessageToInbox) XXX_Merge ¶
func (m *TLInboxSendUserMultiMessageToInbox) XXX_Merge(src proto.Message)
func (*TLInboxSendUserMultiMessageToInbox) XXX_Size ¶
func (m *TLInboxSendUserMultiMessageToInbox) XXX_Size() int
func (*TLInboxSendUserMultiMessageToInbox) XXX_Unmarshal ¶
func (m *TLInboxSendUserMultiMessageToInbox) XXX_Unmarshal(b []byte) error
type TLInboxUnpinAllMessages ¶
type TLInboxUnpinAllMessages struct { Constructor TLConstructor `protobuf:"varint,1,opt,name=constructor,proto3,enum=inbox.TLConstructor" json:"constructor,omitempty"` UserId int64 `protobuf:"varint,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` AuthKeyId int64 `protobuf:"varint,4,opt,name=auth_key_id,json=authKeyId,proto3" json:"auth_key_id,omitempty"` PeerType int32 `protobuf:"varint,5,opt,name=peer_type,json=peerType,proto3" json:"peer_type,omitempty"` PeerId int64 `protobuf:"varint,6,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
--------------------------------------------------------------------------------------------
func (*TLInboxUnpinAllMessages) CalcByteSize ¶
func (m *TLInboxUnpinAllMessages) CalcByteSize(layer int32) int
func (*TLInboxUnpinAllMessages) DebugString ¶
func (m *TLInboxUnpinAllMessages) DebugString() string
func (*TLInboxUnpinAllMessages) Decode ¶
func (m *TLInboxUnpinAllMessages) Decode(dBuf *mtproto.DecodeBuf) error
func (*TLInboxUnpinAllMessages) Descriptor ¶
func (*TLInboxUnpinAllMessages) Descriptor() ([]byte, []int)
func (*TLInboxUnpinAllMessages) Encode ¶
func (m *TLInboxUnpinAllMessages) Encode(x *mtproto.EncodeBuf, layer int32) error
func (*TLInboxUnpinAllMessages) GetAuthKeyId ¶
func (m *TLInboxUnpinAllMessages) GetAuthKeyId() int64
func (*TLInboxUnpinAllMessages) GetConstructor ¶
func (m *TLInboxUnpinAllMessages) GetConstructor() TLConstructor
func (*TLInboxUnpinAllMessages) GetPeerId ¶
func (m *TLInboxUnpinAllMessages) GetPeerId() int64
func (*TLInboxUnpinAllMessages) GetPeerType ¶
func (m *TLInboxUnpinAllMessages) GetPeerType() int32
func (*TLInboxUnpinAllMessages) GetUserId ¶
func (m *TLInboxUnpinAllMessages) GetUserId() int64
func (*TLInboxUnpinAllMessages) GoString ¶
func (this *TLInboxUnpinAllMessages) GoString() string
func (*TLInboxUnpinAllMessages) Marshal ¶
func (m *TLInboxUnpinAllMessages) Marshal() (dAtA []byte, err error)
func (*TLInboxUnpinAllMessages) MarshalTo ¶
func (m *TLInboxUnpinAllMessages) MarshalTo(dAtA []byte) (int, error)
func (*TLInboxUnpinAllMessages) MarshalToSizedBuffer ¶
func (m *TLInboxUnpinAllMessages) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TLInboxUnpinAllMessages) ProtoMessage ¶
func (*TLInboxUnpinAllMessages) ProtoMessage()
func (*TLInboxUnpinAllMessages) Reset ¶
func (m *TLInboxUnpinAllMessages) Reset()
func (*TLInboxUnpinAllMessages) Size ¶
func (m *TLInboxUnpinAllMessages) Size() (n int)
func (*TLInboxUnpinAllMessages) String ¶
func (m *TLInboxUnpinAllMessages) String() string
func (*TLInboxUnpinAllMessages) Unmarshal ¶
func (m *TLInboxUnpinAllMessages) Unmarshal(dAtA []byte) error
func (*TLInboxUnpinAllMessages) XXX_DiscardUnknown ¶
func (m *TLInboxUnpinAllMessages) XXX_DiscardUnknown()
func (*TLInboxUnpinAllMessages) XXX_Marshal ¶
func (m *TLInboxUnpinAllMessages) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TLInboxUnpinAllMessages) XXX_Merge ¶
func (m *TLInboxUnpinAllMessages) XXX_Merge(src proto.Message)
func (*TLInboxUnpinAllMessages) XXX_Size ¶
func (m *TLInboxUnpinAllMessages) XXX_Size() int
func (*TLInboxUnpinAllMessages) XXX_Unmarshal ¶
func (m *TLInboxUnpinAllMessages) XXX_Unmarshal(b []byte) error
type TLInboxUpdateHistoryReaded ¶
type TLInboxUpdateHistoryReaded struct { Constructor TLConstructor `protobuf:"varint,1,opt,name=constructor,proto3,enum=inbox.TLConstructor" json:"constructor,omitempty"` FromId int64 `protobuf:"varint,3,opt,name=from_id,json=fromId,proto3" json:"from_id,omitempty"` PeerType int32 `protobuf:"varint,4,opt,name=peer_type,json=peerType,proto3" json:"peer_type,omitempty"` PeerId int64 `protobuf:"varint,5,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"` MaxId int32 `protobuf:"varint,6,opt,name=max_id,json=maxId,proto3" json:"max_id,omitempty"` Sender int64 `protobuf:"varint,7,opt,name=sender,proto3" json:"sender,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
--------------------------------------------------------------------------------------------
func (*TLInboxUpdateHistoryReaded) CalcByteSize ¶
func (m *TLInboxUpdateHistoryReaded) CalcByteSize(layer int32) int
func (*TLInboxUpdateHistoryReaded) DebugString ¶
func (m *TLInboxUpdateHistoryReaded) DebugString() string
func (*TLInboxUpdateHistoryReaded) Decode ¶
func (m *TLInboxUpdateHistoryReaded) Decode(dBuf *mtproto.DecodeBuf) error
func (*TLInboxUpdateHistoryReaded) Descriptor ¶
func (*TLInboxUpdateHistoryReaded) Descriptor() ([]byte, []int)
func (*TLInboxUpdateHistoryReaded) Encode ¶
func (m *TLInboxUpdateHistoryReaded) Encode(x *mtproto.EncodeBuf, layer int32) error
func (*TLInboxUpdateHistoryReaded) GetConstructor ¶
func (m *TLInboxUpdateHistoryReaded) GetConstructor() TLConstructor
func (*TLInboxUpdateHistoryReaded) GetFromId ¶
func (m *TLInboxUpdateHistoryReaded) GetFromId() int64
func (*TLInboxUpdateHistoryReaded) GetMaxId ¶
func (m *TLInboxUpdateHistoryReaded) GetMaxId() int32
func (*TLInboxUpdateHistoryReaded) GetPeerId ¶
func (m *TLInboxUpdateHistoryReaded) GetPeerId() int64
func (*TLInboxUpdateHistoryReaded) GetPeerType ¶
func (m *TLInboxUpdateHistoryReaded) GetPeerType() int32
func (*TLInboxUpdateHistoryReaded) GetSender ¶
func (m *TLInboxUpdateHistoryReaded) GetSender() int64
func (*TLInboxUpdateHistoryReaded) GoString ¶
func (this *TLInboxUpdateHistoryReaded) GoString() string
func (*TLInboxUpdateHistoryReaded) Marshal ¶
func (m *TLInboxUpdateHistoryReaded) Marshal() (dAtA []byte, err error)
func (*TLInboxUpdateHistoryReaded) MarshalTo ¶
func (m *TLInboxUpdateHistoryReaded) MarshalTo(dAtA []byte) (int, error)
func (*TLInboxUpdateHistoryReaded) MarshalToSizedBuffer ¶
func (m *TLInboxUpdateHistoryReaded) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TLInboxUpdateHistoryReaded) ProtoMessage ¶
func (*TLInboxUpdateHistoryReaded) ProtoMessage()
func (*TLInboxUpdateHistoryReaded) Reset ¶
func (m *TLInboxUpdateHistoryReaded) Reset()
func (*TLInboxUpdateHistoryReaded) Size ¶
func (m *TLInboxUpdateHistoryReaded) Size() (n int)
func (*TLInboxUpdateHistoryReaded) String ¶
func (m *TLInboxUpdateHistoryReaded) String() string
func (*TLInboxUpdateHistoryReaded) Unmarshal ¶
func (m *TLInboxUpdateHistoryReaded) Unmarshal(dAtA []byte) error
func (*TLInboxUpdateHistoryReaded) XXX_DiscardUnknown ¶
func (m *TLInboxUpdateHistoryReaded) XXX_DiscardUnknown()
func (*TLInboxUpdateHistoryReaded) XXX_Marshal ¶
func (m *TLInboxUpdateHistoryReaded) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TLInboxUpdateHistoryReaded) XXX_Merge ¶
func (m *TLInboxUpdateHistoryReaded) XXX_Merge(src proto.Message)
func (*TLInboxUpdateHistoryReaded) XXX_Size ¶
func (m *TLInboxUpdateHistoryReaded) XXX_Size() int
func (*TLInboxUpdateHistoryReaded) XXX_Unmarshal ¶
func (m *TLInboxUpdateHistoryReaded) XXX_Unmarshal(b []byte) error
type TLInboxUpdatePinnedMessage ¶
type TLInboxUpdatePinnedMessage struct { Constructor TLConstructor `protobuf:"varint,1,opt,name=constructor,proto3,enum=inbox.TLConstructor" json:"constructor,omitempty"` UserId int64 `protobuf:"varint,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Unpin bool `protobuf:"varint,4,opt,name=unpin,proto3" json:"unpin,omitempty"` PeerType int32 `protobuf:"varint,5,opt,name=peer_type,json=peerType,proto3" json:"peer_type,omitempty"` PeerId int64 `protobuf:"varint,6,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"` Id int32 `protobuf:"varint,7,opt,name=id,proto3" json:"id,omitempty"` DialogMessageId int64 `protobuf:"varint,8,opt,name=dialog_message_id,json=dialogMessageId,proto3" json:"dialog_message_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
--------------------------------------------------------------------------------------------
func (*TLInboxUpdatePinnedMessage) CalcByteSize ¶
func (m *TLInboxUpdatePinnedMessage) CalcByteSize(layer int32) int
func (*TLInboxUpdatePinnedMessage) DebugString ¶
func (m *TLInboxUpdatePinnedMessage) DebugString() string
func (*TLInboxUpdatePinnedMessage) Decode ¶
func (m *TLInboxUpdatePinnedMessage) Decode(dBuf *mtproto.DecodeBuf) error
func (*TLInboxUpdatePinnedMessage) Descriptor ¶
func (*TLInboxUpdatePinnedMessage) Descriptor() ([]byte, []int)
func (*TLInboxUpdatePinnedMessage) Encode ¶
func (m *TLInboxUpdatePinnedMessage) Encode(x *mtproto.EncodeBuf, layer int32) error
func (*TLInboxUpdatePinnedMessage) GetConstructor ¶
func (m *TLInboxUpdatePinnedMessage) GetConstructor() TLConstructor
func (*TLInboxUpdatePinnedMessage) GetDialogMessageId ¶
func (m *TLInboxUpdatePinnedMessage) GetDialogMessageId() int64
func (*TLInboxUpdatePinnedMessage) GetId ¶
func (m *TLInboxUpdatePinnedMessage) GetId() int32
func (*TLInboxUpdatePinnedMessage) GetPeerId ¶
func (m *TLInboxUpdatePinnedMessage) GetPeerId() int64
func (*TLInboxUpdatePinnedMessage) GetPeerType ¶
func (m *TLInboxUpdatePinnedMessage) GetPeerType() int32
func (*TLInboxUpdatePinnedMessage) GetUnpin ¶
func (m *TLInboxUpdatePinnedMessage) GetUnpin() bool
func (*TLInboxUpdatePinnedMessage) GetUserId ¶
func (m *TLInboxUpdatePinnedMessage) GetUserId() int64
func (*TLInboxUpdatePinnedMessage) GoString ¶
func (this *TLInboxUpdatePinnedMessage) GoString() string
func (*TLInboxUpdatePinnedMessage) Marshal ¶
func (m *TLInboxUpdatePinnedMessage) Marshal() (dAtA []byte, err error)
func (*TLInboxUpdatePinnedMessage) MarshalTo ¶
func (m *TLInboxUpdatePinnedMessage) MarshalTo(dAtA []byte) (int, error)
func (*TLInboxUpdatePinnedMessage) MarshalToSizedBuffer ¶
func (m *TLInboxUpdatePinnedMessage) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TLInboxUpdatePinnedMessage) ProtoMessage ¶
func (*TLInboxUpdatePinnedMessage) ProtoMessage()
func (*TLInboxUpdatePinnedMessage) Reset ¶
func (m *TLInboxUpdatePinnedMessage) Reset()
func (*TLInboxUpdatePinnedMessage) Size ¶
func (m *TLInboxUpdatePinnedMessage) Size() (n int)
func (*TLInboxUpdatePinnedMessage) String ¶
func (m *TLInboxUpdatePinnedMessage) String() string
func (*TLInboxUpdatePinnedMessage) Unmarshal ¶
func (m *TLInboxUpdatePinnedMessage) Unmarshal(dAtA []byte) error
func (*TLInboxUpdatePinnedMessage) XXX_DiscardUnknown ¶
func (m *TLInboxUpdatePinnedMessage) XXX_DiscardUnknown()
func (*TLInboxUpdatePinnedMessage) XXX_Marshal ¶
func (m *TLInboxUpdatePinnedMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TLInboxUpdatePinnedMessage) XXX_Merge ¶
func (m *TLInboxUpdatePinnedMessage) XXX_Merge(src proto.Message)
func (*TLInboxUpdatePinnedMessage) XXX_Size ¶
func (m *TLInboxUpdatePinnedMessage) XXX_Size() int
func (*TLInboxUpdatePinnedMessage) XXX_Unmarshal ¶
func (m *TLInboxUpdatePinnedMessage) XXX_Unmarshal(b []byte) error
type UnimplementedRPCInboxServer ¶
type UnimplementedRPCInboxServer struct { }
UnimplementedRPCInboxServer can be embedded to have forward compatible implementations.
func (*UnimplementedRPCInboxServer) InboxDeleteChatHistoryToInbox ¶
func (*UnimplementedRPCInboxServer) InboxDeleteChatHistoryToInbox(ctx context.Context, req *TLInboxDeleteChatHistoryToInbox) (*mtproto.Void, error)
func (*UnimplementedRPCInboxServer) InboxDeleteMessagesToInbox ¶
func (*UnimplementedRPCInboxServer) InboxDeleteMessagesToInbox(ctx context.Context, req *TLInboxDeleteMessagesToInbox) (*mtproto.Void, error)
func (*UnimplementedRPCInboxServer) InboxDeleteUserHistoryToInbox ¶
func (*UnimplementedRPCInboxServer) InboxDeleteUserHistoryToInbox(ctx context.Context, req *TLInboxDeleteUserHistoryToInbox) (*mtproto.Void, error)
func (*UnimplementedRPCInboxServer) InboxEditChatMessageToInbox ¶
func (*UnimplementedRPCInboxServer) InboxEditChatMessageToInbox(ctx context.Context, req *TLInboxEditChatMessageToInbox) (*mtproto.Void, error)
func (*UnimplementedRPCInboxServer) InboxEditUserMessageToInbox ¶
func (*UnimplementedRPCInboxServer) InboxEditUserMessageToInbox(ctx context.Context, req *TLInboxEditUserMessageToInbox) (*mtproto.Void, error)
func (*UnimplementedRPCInboxServer) InboxReadChatMediaUnreadToInbox ¶
func (*UnimplementedRPCInboxServer) InboxReadChatMediaUnreadToInbox(ctx context.Context, req *TLInboxReadChatMediaUnreadToInbox) (*mtproto.Void, error)
func (*UnimplementedRPCInboxServer) InboxReadUserMediaUnreadToInbox ¶
func (*UnimplementedRPCInboxServer) InboxReadUserMediaUnreadToInbox(ctx context.Context, req *TLInboxReadUserMediaUnreadToInbox) (*mtproto.Void, error)
func (*UnimplementedRPCInboxServer) InboxSendChatMessageToInbox ¶
func (*UnimplementedRPCInboxServer) InboxSendChatMessageToInbox(ctx context.Context, req *TLInboxSendChatMessageToInbox) (*mtproto.Void, error)
func (*UnimplementedRPCInboxServer) InboxSendChatMultiMessageToInbox ¶
func (*UnimplementedRPCInboxServer) InboxSendChatMultiMessageToInbox(ctx context.Context, req *TLInboxSendChatMultiMessageToInbox) (*mtproto.Void, error)
func (*UnimplementedRPCInboxServer) InboxSendUserMessageToInbox ¶
func (*UnimplementedRPCInboxServer) InboxSendUserMessageToInbox(ctx context.Context, req *TLInboxSendUserMessageToInbox) (*mtproto.Void, error)
func (*UnimplementedRPCInboxServer) InboxSendUserMultiMessageToInbox ¶
func (*UnimplementedRPCInboxServer) InboxSendUserMultiMessageToInbox(ctx context.Context, req *TLInboxSendUserMultiMessageToInbox) (*mtproto.Void, error)
func (*UnimplementedRPCInboxServer) InboxUnpinAllMessages ¶
func (*UnimplementedRPCInboxServer) InboxUnpinAllMessages(ctx context.Context, req *TLInboxUnpinAllMessages) (*mtproto.Void, error)
func (*UnimplementedRPCInboxServer) InboxUpdateHistoryReaded ¶
func (*UnimplementedRPCInboxServer) InboxUpdateHistoryReaded(ctx context.Context, req *TLInboxUpdateHistoryReaded) (*mtproto.Void, error)
func (*UnimplementedRPCInboxServer) InboxUpdatePinnedMessage ¶
func (*UnimplementedRPCInboxServer) InboxUpdatePinnedMessage(ctx context.Context, req *TLInboxUpdatePinnedMessage) (*mtproto.Void, error)