Documentation
¶
Index ¶
- Variables
- type ActionType
- type KeyboardType
- type QueryDataType
- func (*QueryDataType) Descriptor() ([]byte, []int)
- func (m *QueryDataType) GetAccount() string
- func (m *QueryDataType) GetAction() ActionType
- func (m QueryDataType) GetBase64ProtoString() string
- func (m *QueryDataType) GetKeyboard() KeyboardType
- func (m *QueryDataType) GetMessageId() int64
- func (*QueryDataType) ProtoMessage()
- func (m *QueryDataType) Reset()
- func (m *QueryDataType) String() string
- func (m *QueryDataType) XXX_DiscardUnknown()
- func (m *QueryDataType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDataType) XXX_Merge(src proto.Message)
- func (m *QueryDataType) XXX_Size() int
- func (m *QueryDataType) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ActionType_name = map[int32]string{
0: "AT_NULL",
1: "AT_REFRESH",
2: "AT_PAYMENTS",
3: "AT_MULTI_OUT",
4: "AT_MULTI_OUT_SAME",
5: "AT_BLOCKS",
6: "AT_BACK",
7: "AT_NEXT",
8: "AT_PREV",
9: "AT_ENABLE_INCOME_TX_NOTIFY",
10: "AT_DISABLE_INCOME_TX_NOTIFY",
11: "AT_ENABLE_BLOCK_NOTIFY",
12: "AT_DISABLE_BLOCK_NOTIFY",
13: "AT_ENABLE_OUTGO_TX_NOTIFY",
14: "AT_DISABLE_OUTGO_TX_NOTIFY",
15: "AT_PRICE_CHART_1_DAY",
16: "AT_PRICE_CHART_1_WEEK",
17: "AT_PRICE_CHART_1_MONTH",
18: "AT_PRICE_CHART_ALL",
19: "AT_NETWORK_CHART_1_MONTH",
20: "AT_NETWORK_CHART_ALL",
21: "AT_OTHER_TXS",
22: "AT_ENABLE_OTHER_TX_NOTIFICATIONS",
23: "AT_DISABLE_OTHER_TX_NOTIFICATIONS",
}
View Source
var ActionType_value = map[string]int32{
"AT_NULL": 0,
"AT_REFRESH": 1,
"AT_PAYMENTS": 2,
"AT_MULTI_OUT": 3,
"AT_MULTI_OUT_SAME": 4,
"AT_BLOCKS": 5,
"AT_BACK": 6,
"AT_NEXT": 7,
"AT_PREV": 8,
"AT_ENABLE_INCOME_TX_NOTIFY": 9,
"AT_DISABLE_INCOME_TX_NOTIFY": 10,
"AT_ENABLE_BLOCK_NOTIFY": 11,
"AT_DISABLE_BLOCK_NOTIFY": 12,
"AT_ENABLE_OUTGO_TX_NOTIFY": 13,
"AT_DISABLE_OUTGO_TX_NOTIFY": 14,
"AT_PRICE_CHART_1_DAY": 15,
"AT_PRICE_CHART_1_WEEK": 16,
"AT_PRICE_CHART_1_MONTH": 17,
"AT_PRICE_CHART_ALL": 18,
"AT_NETWORK_CHART_1_MONTH": 19,
"AT_NETWORK_CHART_ALL": 20,
"AT_OTHER_TXS": 21,
"AT_ENABLE_OTHER_TX_NOTIFICATIONS": 22,
"AT_DISABLE_OTHER_TX_NOTIFICATIONS": 23,
}
View Source
var KeyboardType_name = map[int32]string{
0: "KT_NULL",
1: "KT_ACCOUNT",
2: "KT_PRICE_CHART",
3: "KT_NETWORK_CHART",
}
View Source
var KeyboardType_value = map[string]int32{
"KT_NULL": 0,
"KT_ACCOUNT": 1,
"KT_PRICE_CHART": 2,
"KT_NETWORK_CHART": 3,
}
Functions ¶
This section is empty.
Types ¶
type ActionType ¶
type ActionType int32
const ( ActionType_AT_NULL ActionType = 0 ActionType_AT_REFRESH ActionType = 1 ActionType_AT_PAYMENTS ActionType = 2 ActionType_AT_MULTI_OUT ActionType = 3 ActionType_AT_MULTI_OUT_SAME ActionType = 4 ActionType_AT_BLOCKS ActionType = 5 ActionType_AT_BACK ActionType = 6 ActionType_AT_NEXT ActionType = 7 ActionType_AT_PREV ActionType = 8 ActionType_AT_ENABLE_INCOME_TX_NOTIFY ActionType = 9 ActionType_AT_DISABLE_INCOME_TX_NOTIFY ActionType = 10 ActionType_AT_ENABLE_BLOCK_NOTIFY ActionType = 11 ActionType_AT_DISABLE_BLOCK_NOTIFY ActionType = 12 ActionType_AT_ENABLE_OUTGO_TX_NOTIFY ActionType = 13 ActionType_AT_DISABLE_OUTGO_TX_NOTIFY ActionType = 14 ActionType_AT_PRICE_CHART_1_DAY ActionType = 15 ActionType_AT_PRICE_CHART_1_WEEK ActionType = 16 ActionType_AT_PRICE_CHART_1_MONTH ActionType = 17 ActionType_AT_PRICE_CHART_ALL ActionType = 18 ActionType_AT_NETWORK_CHART_1_MONTH ActionType = 19 ActionType_AT_NETWORK_CHART_ALL ActionType = 20 ActionType_AT_OTHER_TXS ActionType = 21 ActionType_AT_ENABLE_OTHER_TX_NOTIFICATIONS ActionType = 22 ActionType_AT_DISABLE_OTHER_TX_NOTIFICATIONS ActionType = 23 )
func (ActionType) EnumDescriptor ¶
func (ActionType) EnumDescriptor() ([]byte, []int)
func (ActionType) String ¶
func (x ActionType) String() string
type KeyboardType ¶
type KeyboardType int32
const ( KeyboardType_KT_NULL KeyboardType = 0 KeyboardType_KT_ACCOUNT KeyboardType = 1 KeyboardType_KT_PRICE_CHART KeyboardType = 2 KeyboardType_KT_NETWORK_CHART KeyboardType = 3 )
func (KeyboardType) EnumDescriptor ¶
func (KeyboardType) EnumDescriptor() ([]byte, []int)
func (KeyboardType) String ¶
func (x KeyboardType) String() string
type QueryDataType ¶
type QueryDataType struct {
MessageId int64 `protobuf:"varint,1,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"`
Account string `protobuf:"bytes,2,opt,name=account,proto3" json:"account,omitempty"`
Keyboard KeyboardType `protobuf:"varint,3,opt,name=keyboard,proto3,enum=callbackdata.KeyboardType" json:"keyboard,omitempty"`
Action ActionType `protobuf:"varint,4,opt,name=action,proto3,enum=callbackdata.ActionType" json:"action,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*QueryDataType) Descriptor ¶
func (*QueryDataType) Descriptor() ([]byte, []int)
func (*QueryDataType) GetAccount ¶
func (m *QueryDataType) GetAccount() string
func (*QueryDataType) GetAction ¶
func (m *QueryDataType) GetAction() ActionType
func (QueryDataType) GetBase64ProtoString ¶
func (m QueryDataType) GetBase64ProtoString() string
func (*QueryDataType) GetKeyboard ¶
func (m *QueryDataType) GetKeyboard() KeyboardType
func (*QueryDataType) GetMessageId ¶
func (m *QueryDataType) GetMessageId() int64
func (*QueryDataType) ProtoMessage ¶
func (*QueryDataType) ProtoMessage()
func (*QueryDataType) Reset ¶
func (m *QueryDataType) Reset()
func (*QueryDataType) String ¶
func (m *QueryDataType) String() string
func (*QueryDataType) XXX_DiscardUnknown ¶
func (m *QueryDataType) XXX_DiscardUnknown()
func (*QueryDataType) XXX_Marshal ¶
func (m *QueryDataType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDataType) XXX_Merge ¶
func (m *QueryDataType) XXX_Merge(src proto.Message)
func (*QueryDataType) XXX_Size ¶
func (m *QueryDataType) XXX_Size() int
func (*QueryDataType) XXX_Unmarshal ¶
func (m *QueryDataType) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.