v1

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2021 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

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

Jump to

Keyboard shortcuts

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