Documentation
¶
Index ¶
- Variables
- type NotificationRequest
- func (*NotificationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *NotificationRequest) GetChannelId() int64
- func (x *NotificationRequest) GetNotificationText() string
- func (x *NotificationRequest) GetRequestTime() *timestamppb.Timestamp
- func (*NotificationRequest) ProtoMessage()
- func (x *NotificationRequest) ProtoReflect() protoreflect.Message
- func (x *NotificationRequest) Reset()
- func (x *NotificationRequest) String() string
- type NotificationResponse
- func (*NotificationResponse) Descriptor() ([]byte, []int)deprecated
- func (x *NotificationResponse) GetError() string
- func (x *NotificationResponse) GetIsOK() bool
- func (*NotificationResponse) ProtoMessage()
- func (x *NotificationResponse) ProtoReflect() protoreflect.Message
- func (x *NotificationResponse) Reset()
- func (x *NotificationResponse) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_telegram_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type NotificationRequest ¶
type NotificationRequest struct { NotificationText string `protobuf:"bytes,1,opt,name=notificationText,proto3" json:"notificationText,omitempty"` ChannelId int64 `protobuf:"varint,2,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` RequestTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=request_time,json=requestTime,proto3" json:"request_time,omitempty"` // contains filtered or unexported fields }
func (*NotificationRequest) Descriptor
deprecated
func (*NotificationRequest) Descriptor() ([]byte, []int)
Deprecated: Use NotificationRequest.ProtoReflect.Descriptor instead.
func (*NotificationRequest) GetChannelId ¶
func (x *NotificationRequest) GetChannelId() int64
func (*NotificationRequest) GetNotificationText ¶
func (x *NotificationRequest) GetNotificationText() string
func (*NotificationRequest) GetRequestTime ¶
func (x *NotificationRequest) GetRequestTime() *timestamppb.Timestamp
func (*NotificationRequest) ProtoMessage ¶
func (*NotificationRequest) ProtoMessage()
func (*NotificationRequest) ProtoReflect ¶
func (x *NotificationRequest) ProtoReflect() protoreflect.Message
func (*NotificationRequest) Reset ¶
func (x *NotificationRequest) Reset()
func (*NotificationRequest) String ¶
func (x *NotificationRequest) String() string
type NotificationResponse ¶
type NotificationResponse struct { Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` IsOK bool `protobuf:"varint,1,opt,name=isOK,proto3" json:"isOK,omitempty"` // contains filtered or unexported fields }
func (*NotificationResponse) Descriptor
deprecated
func (*NotificationResponse) Descriptor() ([]byte, []int)
Deprecated: Use NotificationResponse.ProtoReflect.Descriptor instead.
func (*NotificationResponse) GetError ¶
func (x *NotificationResponse) GetError() string
func (*NotificationResponse) GetIsOK ¶
func (x *NotificationResponse) GetIsOK() bool
func (*NotificationResponse) ProtoMessage ¶
func (*NotificationResponse) ProtoMessage()
func (*NotificationResponse) ProtoReflect ¶
func (x *NotificationResponse) ProtoReflect() protoreflect.Message
func (*NotificationResponse) Reset ¶
func (x *NotificationResponse) Reset()
func (*NotificationResponse) String ¶
func (x *NotificationResponse) String() string
Click to show internal directories.
Click to hide internal directories.