263 lines
8.9 KiB
Go
263 lines
8.9 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// source: telegram_response.proto
|
|
|
|
package telegram
|
|
|
|
import (
|
|
fmt "fmt"
|
|
proto "github.com/golang/protobuf/proto"
|
|
math "math"
|
|
)
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
var _ = proto.Marshal
|
|
var _ = fmt.Errorf
|
|
var _ = math.Inf
|
|
|
|
// This is a compile-time assertion to ensure that this generated file
|
|
// is compatible with the proto package it is being compiled against.
|
|
// A compilation error at this line likely means your copy of the
|
|
// proto package needs to be updated.
|
|
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
|
|
|
|
type UserResponse struct {
|
|
Ok bool `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"`
|
|
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
|
|
ErrorCode int32 `protobuf:"varint,3,opt,name=error_code,json=errorCode,proto3" json:"error_code,omitempty"`
|
|
Parameters *ResponseParameters `protobuf:"bytes,4,opt,name=parameters,proto3" json:"parameters,omitempty"`
|
|
Result *User `protobuf:"bytes,5,opt,name=result,proto3" json:"result,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *UserResponse) Reset() { *m = UserResponse{} }
|
|
func (m *UserResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*UserResponse) ProtoMessage() {}
|
|
func (*UserResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_9002cdf246284807, []int{0}
|
|
}
|
|
|
|
func (m *UserResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_UserResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *UserResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_UserResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *UserResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_UserResponse.Merge(m, src)
|
|
}
|
|
func (m *UserResponse) XXX_Size() int {
|
|
return xxx_messageInfo_UserResponse.Size(m)
|
|
}
|
|
func (m *UserResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_UserResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_UserResponse proto.InternalMessageInfo
|
|
|
|
func (m *UserResponse) GetOk() bool {
|
|
if m != nil {
|
|
return m.Ok
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (m *UserResponse) GetDescription() string {
|
|
if m != nil {
|
|
return m.Description
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *UserResponse) GetErrorCode() int32 {
|
|
if m != nil {
|
|
return m.ErrorCode
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *UserResponse) GetParameters() *ResponseParameters {
|
|
if m != nil {
|
|
return m.Parameters
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *UserResponse) GetResult() *User {
|
|
if m != nil {
|
|
return m.Result
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type MessageResponse struct {
|
|
Ok bool `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"`
|
|
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
|
|
ErrorCode int32 `protobuf:"varint,3,opt,name=error_code,json=errorCode,proto3" json:"error_code,omitempty"`
|
|
Parameters *ResponseParameters `protobuf:"bytes,4,opt,name=parameters,proto3" json:"parameters,omitempty"`
|
|
Result *Message `protobuf:"bytes,5,opt,name=result,proto3" json:"result,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *MessageResponse) Reset() { *m = MessageResponse{} }
|
|
func (m *MessageResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*MessageResponse) ProtoMessage() {}
|
|
func (*MessageResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_9002cdf246284807, []int{1}
|
|
}
|
|
|
|
func (m *MessageResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_MessageResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *MessageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_MessageResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *MessageResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_MessageResponse.Merge(m, src)
|
|
}
|
|
func (m *MessageResponse) XXX_Size() int {
|
|
return xxx_messageInfo_MessageResponse.Size(m)
|
|
}
|
|
func (m *MessageResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_MessageResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_MessageResponse proto.InternalMessageInfo
|
|
|
|
func (m *MessageResponse) GetOk() bool {
|
|
if m != nil {
|
|
return m.Ok
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (m *MessageResponse) GetDescription() string {
|
|
if m != nil {
|
|
return m.Description
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *MessageResponse) GetErrorCode() int32 {
|
|
if m != nil {
|
|
return m.ErrorCode
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *MessageResponse) GetParameters() *ResponseParameters {
|
|
if m != nil {
|
|
return m.Parameters
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *MessageResponse) GetResult() *Message {
|
|
if m != nil {
|
|
return m.Result
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type UpdateResponse struct {
|
|
Ok bool `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"`
|
|
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
|
|
ErrorCode int32 `protobuf:"varint,3,opt,name=error_code,json=errorCode,proto3" json:"error_code,omitempty"`
|
|
Parameters *ResponseParameters `protobuf:"bytes,4,opt,name=parameters,proto3" json:"parameters,omitempty"`
|
|
Result []*Update `protobuf:"bytes,5,rep,name=result,proto3" json:"result,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *UpdateResponse) Reset() { *m = UpdateResponse{} }
|
|
func (m *UpdateResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*UpdateResponse) ProtoMessage() {}
|
|
func (*UpdateResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_9002cdf246284807, []int{2}
|
|
}
|
|
|
|
func (m *UpdateResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_UpdateResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *UpdateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_UpdateResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *UpdateResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_UpdateResponse.Merge(m, src)
|
|
}
|
|
func (m *UpdateResponse) XXX_Size() int {
|
|
return xxx_messageInfo_UpdateResponse.Size(m)
|
|
}
|
|
func (m *UpdateResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_UpdateResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_UpdateResponse proto.InternalMessageInfo
|
|
|
|
func (m *UpdateResponse) GetOk() bool {
|
|
if m != nil {
|
|
return m.Ok
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (m *UpdateResponse) GetDescription() string {
|
|
if m != nil {
|
|
return m.Description
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *UpdateResponse) GetErrorCode() int32 {
|
|
if m != nil {
|
|
return m.ErrorCode
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *UpdateResponse) GetParameters() *ResponseParameters {
|
|
if m != nil {
|
|
return m.Parameters
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *UpdateResponse) GetResult() []*Update {
|
|
if m != nil {
|
|
return m.Result
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func init() {
|
|
proto.RegisterType((*UserResponse)(nil), "telegram.UserResponse")
|
|
proto.RegisterType((*MessageResponse)(nil), "telegram.MessageResponse")
|
|
proto.RegisterType((*UpdateResponse)(nil), "telegram.UpdateResponse")
|
|
}
|
|
|
|
func init() { proto.RegisterFile("telegram_response.proto", fileDescriptor_9002cdf246284807) }
|
|
|
|
var fileDescriptor_9002cdf246284807 = []byte{
|
|
// 246 bytes of a gzipped FileDescriptorProto
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x92, 0xcf, 0x4a, 0x03, 0x31,
|
|
0x10, 0xc6, 0xc9, 0xd6, 0x96, 0x76, 0x56, 0x56, 0xcd, 0xc5, 0x20, 0x0a, 0xa1, 0x07, 0x89, 0x97,
|
|
0x1e, 0xea, 0xd5, 0x9b, 0x67, 0x41, 0x02, 0x3d, 0x97, 0xd8, 0x1d, 0x4a, 0xe9, 0x9f, 0x09, 0x33,
|
|
0xf1, 0x11, 0x3d, 0x88, 0x2f, 0x25, 0x6c, 0x37, 0xed, 0xd2, 0x27, 0xd8, 0x5b, 0x98, 0x6f, 0x3e,
|
|
0xf2, 0xfb, 0x91, 0xc0, 0x7d, 0xc2, 0x1d, 0xae, 0x39, 0xec, 0x97, 0x8c, 0x12, 0xe9, 0x20, 0x38,
|
|
0x8b, 0x4c, 0x89, 0xf4, 0x38, 0x07, 0x0f, 0x55, 0x3e, 0x1d, 0x93, 0xe9, 0x8f, 0x82, 0xeb, 0x85,
|
|
0x20, 0xfb, 0xb6, 0xa0, 0x2b, 0x28, 0x68, 0x6b, 0x94, 0x55, 0x6e, 0xec, 0x0b, 0xda, 0x6a, 0x0b,
|
|
0x65, 0x8d, 0xb2, 0xe2, 0x4d, 0x4c, 0x1b, 0x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