pb

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_callback_proto protoreflect.FileDescriptor
View Source
var File_document_proto protoreflect.FileDescriptor
View Source
var File_markup_proto protoreflect.FileDescriptor
View Source
var File_message_proto protoreflect.FileDescriptor
View Source
var File_photo_proto protoreflect.FileDescriptor
View Source
var File_reply_proto protoreflect.FileDescriptor
View Source
var File_update_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Animation

type Animation struct {
	// contains filtered or unexported fields
}

func (*Animation) Descriptor deprecated

func (*Animation) Descriptor() ([]byte, []int)

Deprecated: Use Animation.ProtoReflect.Descriptor instead.

func (*Animation) ProtoMessage

func (*Animation) ProtoMessage()

func (*Animation) ProtoReflect

func (x *Animation) ProtoReflect() protoreflect.Message

func (*Animation) Reset

func (x *Animation) Reset()

func (*Animation) String

func (x *Animation) String() string

type Audio

type Audio struct {
	// contains filtered or unexported fields
}

func (*Audio) Descriptor deprecated

func (*Audio) Descriptor() ([]byte, []int)

Deprecated: Use Audio.ProtoReflect.Descriptor instead.

func (*Audio) ProtoMessage

func (*Audio) ProtoMessage()

func (*Audio) ProtoReflect

func (x *Audio) ProtoReflect() protoreflect.Message

func (*Audio) Reset

func (x *Audio) Reset()

func (*Audio) String

func (x *Audio) String() string

type BusinessConnection

type BusinessConnection struct {
	// contains filtered or unexported fields
}

func (*BusinessConnection) Descriptor deprecated

func (*BusinessConnection) Descriptor() ([]byte, []int)

Deprecated: Use BusinessConnection.ProtoReflect.Descriptor instead.

func (*BusinessConnection) ProtoMessage

func (*BusinessConnection) ProtoMessage()

func (*BusinessConnection) ProtoReflect

func (x *BusinessConnection) ProtoReflect() protoreflect.Message

func (*BusinessConnection) Reset

func (x *BusinessConnection) Reset()

func (*BusinessConnection) String

func (x *BusinessConnection) String() string

type BusinessMessagesDeleted

type BusinessMessagesDeleted struct {
	// contains filtered or unexported fields
}

func (*BusinessMessagesDeleted) Descriptor deprecated

func (*BusinessMessagesDeleted) Descriptor() ([]byte, []int)

Deprecated: Use BusinessMessagesDeleted.ProtoReflect.Descriptor instead.

func (*BusinessMessagesDeleted) ProtoMessage

func (*BusinessMessagesDeleted) ProtoMessage()

func (*BusinessMessagesDeleted) ProtoReflect

func (x *BusinessMessagesDeleted) ProtoReflect() protoreflect.Message

func (*BusinessMessagesDeleted) Reset

func (x *BusinessMessagesDeleted) Reset()

func (*BusinessMessagesDeleted) String

func (x *BusinessMessagesDeleted) String() string

type CallbackGame added in v1.0.2

type CallbackGame struct {
	UserId             uint64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	Score              uint64 `protobuf:"varint,2,opt,name=score,proto3" json:"score,omitempty"`
	Force              bool   `protobuf:"varint,3,opt,name=force,proto3" json:"force,omitempty"`
	DisableEditMessage bool   `protobuf:"varint,4,opt,name=disable_edit_message,json=disableEditMessage,proto3" json:"disable_edit_message,omitempty"`
	ChatId             int64  `protobuf:"varint,5,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"`
	MessageId          int64  `protobuf:"varint,6,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"`
	InlineMessageId    string `protobuf:"bytes,7,opt,name=inline_message_id,json=inlineMessageId,proto3" json:"inline_message_id,omitempty"`
	// contains filtered or unexported fields
}

https://core.telegram.org/bots/api#callbackgame

func (*CallbackGame) Descriptor deprecated added in v1.0.2

func (*CallbackGame) Descriptor() ([]byte, []int)

Deprecated: Use CallbackGame.ProtoReflect.Descriptor instead.

func (*CallbackGame) GetChatId added in v1.0.2

func (x *CallbackGame) GetChatId() int64

func (*CallbackGame) GetDisableEditMessage added in v1.0.2

func (x *CallbackGame) GetDisableEditMessage() bool

func (*CallbackGame) GetForce added in v1.0.2

func (x *CallbackGame) GetForce() bool

func (*CallbackGame) GetInlineMessageId added in v1.0.2

func (x *CallbackGame) GetInlineMessageId() string

func (*CallbackGame) GetMessageId added in v1.0.2

func (x *CallbackGame) GetMessageId() int64

func (*CallbackGame) GetScore added in v1.0.2

func (x *CallbackGame) GetScore() uint64

func (*CallbackGame) GetUserId added in v1.0.2

func (x *CallbackGame) GetUserId() uint64

func (*CallbackGame) ProtoMessage added in v1.0.2

func (*CallbackGame) ProtoMessage()

func (*CallbackGame) ProtoReflect added in v1.0.2

func (x *CallbackGame) ProtoReflect() protoreflect.Message

func (*CallbackGame) Reset added in v1.0.2

func (x *CallbackGame) Reset()

func (*CallbackGame) String added in v1.0.2

func (x *CallbackGame) String() string

type CallbackQuery

type CallbackQuery struct {
	Id              string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	From            *User    `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"`
	Message         *Message `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
	InlineMessageId string   `protobuf:"bytes,4,opt,name=inline_message_id,json=inlineMessageId,proto3" json:"inline_message_id,omitempty"`
	ChatInstance    string   `protobuf:"bytes,5,opt,name=chat_instance,json=chatInstance,proto3" json:"chat_instance,omitempty"`
	Data            string   `protobuf:"bytes,6,opt,name=data,proto3" json:"data,omitempty"`
	GameShortName   string   `protobuf:"bytes,7,opt,name=game_short_name,json=gameShortName,proto3" json:"game_short_name,omitempty"`
	// contains filtered or unexported fields
}

https://core.telegram.org/bots/api#callbackquery

This object represents an incoming callback query from a callback button in an inline keyboard. If the button that originated the query was attached to a message sent by the bot, the field message will be present. If the button was attached to a message sent via the bot (in inline mode), the field inline_message_id will be present. Exactly one of the fields data or game_short_name will be present.

func (*CallbackQuery) Descriptor deprecated

func (*CallbackQuery) Descriptor() ([]byte, []int)

Deprecated: Use CallbackQuery.ProtoReflect.Descriptor instead.

func (*CallbackQuery) GetChatInstance added in v1.0.2

func (x *CallbackQuery) GetChatInstance() string

func (*CallbackQuery) GetData added in v1.0.2

func (x *CallbackQuery) GetData() string

func (*CallbackQuery) GetFrom added in v1.0.2

func (x *CallbackQuery) GetFrom() *User

func (*CallbackQuery) GetGameShortName added in v1.0.2

func (x *CallbackQuery) GetGameShortName() string

func (*CallbackQuery) GetId added in v1.0.2

func (x *CallbackQuery) GetId() string

func (*CallbackQuery) GetInlineMessageId added in v1.0.2

func (x *CallbackQuery) GetInlineMessageId() string

func (*CallbackQuery) GetMessage added in v1.0.2

func (x *CallbackQuery) GetMessage() *Message

func (*CallbackQuery) ProtoMessage

func (*CallbackQuery) ProtoMessage()

func (*CallbackQuery) ProtoReflect

func (x *CallbackQuery) ProtoReflect() protoreflect.Message

func (*CallbackQuery) Reset

func (x *CallbackQuery) Reset()

func (*CallbackQuery) String

func (x *CallbackQuery) String() string

type Chat

type Chat struct {
	Id        int64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	FirstName string `protobuf:"bytes,2,opt,name=first_name,json=firstName,proto3" json:"first_name,omitempty"`
	LastName  string `protobuf:"bytes,3,opt,name=last_name,json=lastName,proto3" json:"last_name,omitempty"`
	Username  string `protobuf:"bytes,4,opt,name=username,proto3" json:"username,omitempty"`
	Type      string `protobuf:"bytes,5,opt,name=type,proto3" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (*Chat) Descriptor deprecated

func (*Chat) Descriptor() ([]byte, []int)

Deprecated: Use Chat.ProtoReflect.Descriptor instead.

func (*Chat) GetFirstName added in v1.0.2

func (x *Chat) GetFirstName() string

func (*Chat) GetId added in v1.0.2

func (x *Chat) GetId() int64

func (*Chat) GetLastName added in v1.0.2

func (x *Chat) GetLastName() string

func (*Chat) GetType added in v1.0.2

func (x *Chat) GetType() string

func (*Chat) GetUsername added in v1.0.2

func (x *Chat) GetUsername() string

func (*Chat) IDStr added in v1.0.5

func (x *Chat) IDStr() string

func (*Chat) ProtoMessage

func (*Chat) ProtoMessage()

func (*Chat) ProtoReflect

func (x *Chat) ProtoReflect() protoreflect.Message

func (*Chat) Reset

func (x *Chat) Reset()

func (*Chat) String

func (x *Chat) String() string

type ChatBackground

type ChatBackground struct {
	// contains filtered or unexported fields
}

func (*ChatBackground) Descriptor deprecated

func (*ChatBackground) Descriptor() ([]byte, []int)

Deprecated: Use ChatBackground.ProtoReflect.Descriptor instead.

func (*ChatBackground) ProtoMessage

func (*ChatBackground) ProtoMessage()

func (*ChatBackground) ProtoReflect

func (x *ChatBackground) ProtoReflect() protoreflect.Message

func (*ChatBackground) Reset

func (x *ChatBackground) Reset()

func (*ChatBackground) String

func (x *ChatBackground) String() string

type ChatBoostAdded

type ChatBoostAdded struct {
	// contains filtered or unexported fields
}

func (*ChatBoostAdded) Descriptor deprecated

func (*ChatBoostAdded) Descriptor() ([]byte, []int)

Deprecated: Use ChatBoostAdded.ProtoReflect.Descriptor instead.

func (*ChatBoostAdded) ProtoMessage

func (*ChatBoostAdded) ProtoMessage()

func (*ChatBoostAdded) ProtoReflect

func (x *ChatBoostAdded) ProtoReflect() protoreflect.Message

func (*ChatBoostAdded) Reset

func (x *ChatBoostAdded) Reset()

func (*ChatBoostAdded) String

func (x *ChatBoostAdded) String() string

type ChatBoostRemoved

type ChatBoostRemoved struct {
	// contains filtered or unexported fields
}

func (*ChatBoostRemoved) Descriptor deprecated

func (*ChatBoostRemoved) Descriptor() ([]byte, []int)

Deprecated: Use ChatBoostRemoved.ProtoReflect.Descriptor instead.

func (*ChatBoostRemoved) ProtoMessage

func (*ChatBoostRemoved) ProtoMessage()

func (*ChatBoostRemoved) ProtoReflect

func (x *ChatBoostRemoved) ProtoReflect() protoreflect.Message

func (*ChatBoostRemoved) Reset

func (x *ChatBoostRemoved) Reset()

func (*ChatBoostRemoved) String

func (x *ChatBoostRemoved) String() string

type ChatBoostUpdated

type ChatBoostUpdated struct {
	// contains filtered or unexported fields
}

func (*ChatBoostUpdated) Descriptor deprecated

func (*ChatBoostUpdated) Descriptor() ([]byte, []int)

Deprecated: Use ChatBoostUpdated.ProtoReflect.Descriptor instead.

func (*ChatBoostUpdated) ProtoMessage

func (*ChatBoostUpdated) ProtoMessage()

func (*ChatBoostUpdated) ProtoReflect

func (x *ChatBoostUpdated) ProtoReflect() protoreflect.Message

func (*ChatBoostUpdated) Reset

func (x *ChatBoostUpdated) Reset()

func (*ChatBoostUpdated) String

func (x *ChatBoostUpdated) String() string

type ChatJoinRequest

type ChatJoinRequest struct {
	// contains filtered or unexported fields
}

func (*ChatJoinRequest) Descriptor deprecated

func (*ChatJoinRequest) Descriptor() ([]byte, []int)

Deprecated: Use ChatJoinRequest.ProtoReflect.Descriptor instead.

func (*ChatJoinRequest) ProtoMessage

func (*ChatJoinRequest) ProtoMessage()

func (*ChatJoinRequest) ProtoReflect

func (x *ChatJoinRequest) ProtoReflect() protoreflect.Message

func (*ChatJoinRequest) Reset

func (x *ChatJoinRequest) Reset()

func (*ChatJoinRequest) String

func (x *ChatJoinRequest) String() string

type ChatMemberUpdated

type ChatMemberUpdated struct {
	// contains filtered or unexported fields
}

func (*ChatMemberUpdated) Descriptor deprecated

func (*ChatMemberUpdated) Descriptor() ([]byte, []int)

Deprecated: Use ChatMemberUpdated.ProtoReflect.Descriptor instead.

func (*ChatMemberUpdated) ProtoMessage

func (*ChatMemberUpdated) ProtoMessage()

func (*ChatMemberUpdated) ProtoReflect

func (x *ChatMemberUpdated) ProtoReflect() protoreflect.Message

func (*ChatMemberUpdated) Reset

func (x *ChatMemberUpdated) Reset()

func (*ChatMemberUpdated) String

func (x *ChatMemberUpdated) String() string

type ChatShared

type ChatShared struct {
	// contains filtered or unexported fields
}

func (*ChatShared) Descriptor deprecated

func (*ChatShared) Descriptor() ([]byte, []int)

Deprecated: Use ChatShared.ProtoReflect.Descriptor instead.

func (*ChatShared) ProtoMessage

func (*ChatShared) ProtoMessage()

func (*ChatShared) ProtoReflect

func (x *ChatShared) ProtoReflect() protoreflect.Message

func (*ChatShared) Reset

func (x *ChatShared) Reset()

func (*ChatShared) String

func (x *ChatShared) String() string

type ChosenInlineResult

type ChosenInlineResult struct {
	// contains filtered or unexported fields
}

func (*ChosenInlineResult) Descriptor deprecated

func (*ChosenInlineResult) Descriptor() ([]byte, []int)

Deprecated: Use ChosenInlineResult.ProtoReflect.Descriptor instead.

func (*ChosenInlineResult) ProtoMessage

func (*ChosenInlineResult) ProtoMessage()

func (*ChosenInlineResult) ProtoReflect

func (x *ChosenInlineResult) ProtoReflect() protoreflect.Message

func (*ChosenInlineResult) Reset

func (x *ChosenInlineResult) Reset()

func (*ChosenInlineResult) String

func (x *ChosenInlineResult) String() string

type Contact

type Contact struct {
	// contains filtered or unexported fields
}

func (*Contact) Descriptor deprecated

func (*Contact) Descriptor() ([]byte, []int)

Deprecated: Use Contact.ProtoReflect.Descriptor instead.

func (*Contact) ProtoMessage

func (*Contact) ProtoMessage()

func (*Contact) ProtoReflect

func (x *Contact) ProtoReflect() protoreflect.Message

func (*Contact) Reset

func (x *Contact) Reset()

func (*Contact) String

func (x *Contact) String() string

type Dice

type Dice struct {
	// contains filtered or unexported fields
}

func (*Dice) Descriptor deprecated

func (*Dice) Descriptor() ([]byte, []int)

Deprecated: Use Dice.ProtoReflect.Descriptor instead.

func (*Dice) ProtoMessage

func (*Dice) ProtoMessage()

func (*Dice) ProtoReflect

func (x *Dice) ProtoReflect() protoreflect.Message

func (*Dice) Reset

func (x *Dice) Reset()

func (*Dice) String

func (x *Dice) String() string

type Document

type Document struct {
	FileId       string     `protobuf:"bytes,1,opt,name=file_id,json=fileId,proto3" json:"file_id,omitempty"`
	FileUniqueId string     `protobuf:"bytes,2,opt,name=file_unique_id,json=fileUniqueId,proto3" json:"file_unique_id,omitempty"`
	Thumbnail    *PhotoSize `protobuf:"bytes,3,opt,name=thumbnail,proto3" json:"thumbnail,omitempty"`
	FileName     string     `protobuf:"bytes,4,opt,name=file_name,json=fileName,proto3" json:"file_name,omitempty"`
	MimeType     string     `protobuf:"bytes,5,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"`
	FileSize     uint64     `protobuf:"varint,6,opt,name=file_size,json=fileSize,proto3" json:"file_size,omitempty"`
	// contains filtered or unexported fields
}

https://core.telegram.org/bots/api#document

func (*Document) Descriptor deprecated

func (*Document) Descriptor() ([]byte, []int)

Deprecated: Use Document.ProtoReflect.Descriptor instead.

func (*Document) GetFileId added in v1.0.2

func (x *Document) GetFileId() string

func (*Document) GetFileName added in v1.0.2

func (x *Document) GetFileName() string

func (*Document) GetFileSize added in v1.0.2

func (x *Document) GetFileSize() uint64

func (*Document) GetFileUniqueId added in v1.0.2

func (x *Document) GetFileUniqueId() string

func (*Document) GetMimeType added in v1.0.2

func (x *Document) GetMimeType() string

func (*Document) GetThumbnail added in v1.0.2

func (x *Document) GetThumbnail() *PhotoSize

func (*Document) ProtoMessage

func (*Document) ProtoMessage()

func (*Document) ProtoReflect

func (x *Document) ProtoReflect() protoreflect.Message

func (*Document) Reset

func (x *Document) Reset()

func (*Document) String

func (x *Document) String() string

type Error added in v1.0.2

type Error struct {
	Ok          bool   `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"`
	ErrorCode   uint32 `protobuf:"varint,2,opt,name=error_code,json=errorCode,proto3" json:"error_code,omitempty"`
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

func (*Error) Descriptor deprecated added in v1.0.2

func (*Error) Descriptor() ([]byte, []int)

Deprecated: Use Error.ProtoReflect.Descriptor instead.

func (*Error) GetDescription added in v1.0.2

func (x *Error) GetDescription() string

func (*Error) GetErrorCode added in v1.0.2

func (x *Error) GetErrorCode() uint32

func (*Error) GetOk added in v1.0.2

func (x *Error) GetOk() bool

func (*Error) ProtoMessage added in v1.0.2

func (*Error) ProtoMessage()

func (*Error) ProtoReflect added in v1.0.2

func (x *Error) ProtoReflect() protoreflect.Message

func (*Error) Reset added in v1.0.2

func (x *Error) Reset()

func (*Error) String added in v1.0.2

func (x *Error) String() string

type ExternalReplyInfo

type ExternalReplyInfo struct {
	// contains filtered or unexported fields
}

func (*ExternalReplyInfo) Descriptor deprecated

func (*ExternalReplyInfo) Descriptor() ([]byte, []int)

Deprecated: Use ExternalReplyInfo.ProtoReflect.Descriptor instead.

func (*ExternalReplyInfo) ProtoMessage

func (*ExternalReplyInfo) ProtoMessage()

func (*ExternalReplyInfo) ProtoReflect

func (x *ExternalReplyInfo) ProtoReflect() protoreflect.Message

func (*ExternalReplyInfo) Reset

func (x *ExternalReplyInfo) Reset()

func (*ExternalReplyInfo) String

func (x *ExternalReplyInfo) String() string

type File added in v1.0.2

type File struct {
	FileId       string `protobuf:"bytes,1,opt,name=file_id,json=fileId,proto3" json:"file_id,omitempty"`
	FileUniqueId string `protobuf:"bytes,2,opt,name=file_unique_id,json=fileUniqueId,proto3" json:"file_unique_id,omitempty"`
	FileSize     uint64 `protobuf:"varint,3,opt,name=file_size,json=fileSize,proto3" json:"file_size,omitempty"`
	FilePath     string `protobuf:"bytes,4,opt,name=file_path,json=filePath,proto3" json:"file_path,omitempty"`
	// contains filtered or unexported fields
}

https://core.telegram.org/bots/api#file

func (*File) Descriptor deprecated added in v1.0.2

func (*File) Descriptor() ([]byte, []int)

Deprecated: Use File.ProtoReflect.Descriptor instead.

func (*File) GetFileId added in v1.0.2

func (x *File) GetFileId() string

func (*File) GetFilePath added in v1.0.2

func (x *File) GetFilePath() string

func (*File) GetFileSize added in v1.0.2

func (x *File) GetFileSize() uint64

func (*File) GetFileUniqueId added in v1.0.2

func (x *File) GetFileUniqueId() string

func (*File) ProtoMessage added in v1.0.2

func (*File) ProtoMessage()

func (*File) ProtoReflect added in v1.0.2

func (x *File) ProtoReflect() protoreflect.Message

func (*File) Reset added in v1.0.2

func (x *File) Reset()

func (*File) String added in v1.0.2

func (x *File) String() string

type ForceReply

type ForceReply struct {
	// contains filtered or unexported fields
}

func (*ForceReply) Descriptor deprecated

func (*ForceReply) Descriptor() ([]byte, []int)

Deprecated: Use ForceReply.ProtoReflect.Descriptor instead.

func (*ForceReply) ProtoMessage

func (*ForceReply) ProtoMessage()

func (*ForceReply) ProtoReflect

func (x *ForceReply) ProtoReflect() protoreflect.Message

func (*ForceReply) Reset

func (x *ForceReply) Reset()

func (*ForceReply) String

func (x *ForceReply) String() string

type ForumTopicClosed

type ForumTopicClosed struct {
	// contains filtered or unexported fields
}

func (*ForumTopicClosed) Descriptor deprecated

func (*ForumTopicClosed) Descriptor() ([]byte, []int)

Deprecated: Use ForumTopicClosed.ProtoReflect.Descriptor instead.

func (*ForumTopicClosed) ProtoMessage

func (*ForumTopicClosed) ProtoMessage()

func (*ForumTopicClosed) ProtoReflect

func (x *ForumTopicClosed) ProtoReflect() protoreflect.Message

func (*ForumTopicClosed) Reset

func (x *ForumTopicClosed) Reset()

func (*ForumTopicClosed) String

func (x *ForumTopicClosed) String() string

type ForumTopicCreated

type ForumTopicCreated struct {
	// contains filtered or unexported fields
}

func (*ForumTopicCreated) Descriptor deprecated

func (*ForumTopicCreated) Descriptor() ([]byte, []int)

Deprecated: Use ForumTopicCreated.ProtoReflect.Descriptor instead.

func (*ForumTopicCreated) ProtoMessage

func (*ForumTopicCreated) ProtoMessage()

func (*ForumTopicCreated) ProtoReflect

func (x *ForumTopicCreated) ProtoReflect() protoreflect.Message

func (*ForumTopicCreated) Reset

func (x *ForumTopicCreated) Reset()

func (*ForumTopicCreated) String

func (x *ForumTopicCreated) String() string

type ForumTopicEdited

type ForumTopicEdited struct {
	// contains filtered or unexported fields
}

func (*ForumTopicEdited) Descriptor deprecated

func (*ForumTopicEdited) Descriptor() ([]byte, []int)

Deprecated: Use ForumTopicEdited.ProtoReflect.Descriptor instead.

func (*ForumTopicEdited) ProtoMessage

func (*ForumTopicEdited) ProtoMessage()

func (*ForumTopicEdited) ProtoReflect

func (x *ForumTopicEdited) ProtoReflect() protoreflect.Message

func (*ForumTopicEdited) Reset

func (x *ForumTopicEdited) Reset()

func (*ForumTopicEdited) String

func (x *ForumTopicEdited) String() string

type ForumTopicReopened

type ForumTopicReopened struct {
	// contains filtered or unexported fields
}

func (*ForumTopicReopened) Descriptor deprecated

func (*ForumTopicReopened) Descriptor() ([]byte, []int)

Deprecated: Use ForumTopicReopened.ProtoReflect.Descriptor instead.

func (*ForumTopicReopened) ProtoMessage

func (*ForumTopicReopened) ProtoMessage()

func (*ForumTopicReopened) ProtoReflect

func (x *ForumTopicReopened) ProtoReflect() protoreflect.Message

func (*ForumTopicReopened) Reset

func (x *ForumTopicReopened) Reset()

func (*ForumTopicReopened) String

func (x *ForumTopicReopened) String() string

type Game

type Game struct {
	// contains filtered or unexported fields
}

func (*Game) Descriptor deprecated

func (*Game) Descriptor() ([]byte, []int)

Deprecated: Use Game.ProtoReflect.Descriptor instead.

func (*Game) ProtoMessage

func (*Game) ProtoMessage()

func (*Game) ProtoReflect

func (x *Game) ProtoReflect() protoreflect.Message

func (*Game) Reset

func (x *Game) Reset()

func (*Game) String

func (x *Game) String() string

type GeneralForumTopicHidden

type GeneralForumTopicHidden struct {
	// contains filtered or unexported fields
}

func (*GeneralForumTopicHidden) Descriptor deprecated

func (*GeneralForumTopicHidden) Descriptor() ([]byte, []int)

Deprecated: Use GeneralForumTopicHidden.ProtoReflect.Descriptor instead.

func (*GeneralForumTopicHidden) ProtoMessage

func (*GeneralForumTopicHidden) ProtoMessage()

func (*GeneralForumTopicHidden) ProtoReflect

func (x *GeneralForumTopicHidden) ProtoReflect() protoreflect.Message

func (*GeneralForumTopicHidden) Reset

func (x *GeneralForumTopicHidden) Reset()

func (*GeneralForumTopicHidden) String

func (x *GeneralForumTopicHidden) String() string

type GeneralForumTopicUnhidden

type GeneralForumTopicUnhidden struct {
	// contains filtered or unexported fields
}

func (*GeneralForumTopicUnhidden) Descriptor deprecated

func (*GeneralForumTopicUnhidden) Descriptor() ([]byte, []int)

Deprecated: Use GeneralForumTopicUnhidden.ProtoReflect.Descriptor instead.

func (*GeneralForumTopicUnhidden) ProtoMessage

func (*GeneralForumTopicUnhidden) ProtoMessage()

func (*GeneralForumTopicUnhidden) ProtoReflect

func (*GeneralForumTopicUnhidden) Reset

func (x *GeneralForumTopicUnhidden) Reset()

func (*GeneralForumTopicUnhidden) String

func (x *GeneralForumTopicUnhidden) String() string

type Giveaway

type Giveaway struct {
	// contains filtered or unexported fields
}

func (*Giveaway) Descriptor deprecated

func (*Giveaway) Descriptor() ([]byte, []int)

Deprecated: Use Giveaway.ProtoReflect.Descriptor instead.

func (*Giveaway) ProtoMessage

func (*Giveaway) ProtoMessage()

func (*Giveaway) ProtoReflect

func (x *Giveaway) ProtoReflect() protoreflect.Message

func (*Giveaway) Reset

func (x *Giveaway) Reset()

func (*Giveaway) String

func (x *Giveaway) String() string

type GiveawayCompleted

type GiveawayCompleted struct {
	// contains filtered or unexported fields
}

func (*GiveawayCompleted) Descriptor deprecated

func (*GiveawayCompleted) Descriptor() ([]byte, []int)

Deprecated: Use GiveawayCompleted.ProtoReflect.Descriptor instead.

func (*GiveawayCompleted) ProtoMessage

func (*GiveawayCompleted) ProtoMessage()

func (*GiveawayCompleted) ProtoReflect

func (x *GiveawayCompleted) ProtoReflect() protoreflect.Message

func (*GiveawayCompleted) Reset

func (x *GiveawayCompleted) Reset()

func (*GiveawayCompleted) String

func (x *GiveawayCompleted) String() string

type GiveawayCreated

type GiveawayCreated struct {
	// contains filtered or unexported fields
}

func (*GiveawayCreated) Descriptor deprecated

func (*GiveawayCreated) Descriptor() ([]byte, []int)

Deprecated: Use GiveawayCreated.ProtoReflect.Descriptor instead.

func (*GiveawayCreated) ProtoMessage

func (*GiveawayCreated) ProtoMessage()

func (*GiveawayCreated) ProtoReflect

func (x *GiveawayCreated) ProtoReflect() protoreflect.Message

func (*GiveawayCreated) Reset

func (x *GiveawayCreated) Reset()

func (*GiveawayCreated) String

func (x *GiveawayCreated) String() string

type GiveawayWinners

type GiveawayWinners struct {
	// contains filtered or unexported fields
}

func (*GiveawayWinners) Descriptor deprecated

func (*GiveawayWinners) Descriptor() ([]byte, []int)

Deprecated: Use GiveawayWinners.ProtoReflect.Descriptor instead.

func (*GiveawayWinners) ProtoMessage

func (*GiveawayWinners) ProtoMessage()

func (*GiveawayWinners) ProtoReflect

func (x *GiveawayWinners) ProtoReflect() protoreflect.Message

func (*GiveawayWinners) Reset

func (x *GiveawayWinners) Reset()

func (*GiveawayWinners) String

func (x *GiveawayWinners) String() string

type InlineKeyboardButton added in v1.0.2

type InlineKeyboardButton struct {
	Text                         string                       `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
	Url                          string                       `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
	CallbackData                 string                       `protobuf:"bytes,3,opt,name=callback_data,json=callbackData,proto3" json:"callback_data,omitempty"`
	WebApp                       *WebAppInfo                  `protobuf:"bytes,4,opt,name=web_app,json=webApp,proto3" json:"web_app,omitempty"`
	LoginUrl                     *LoginURL                    `protobuf:"bytes,5,opt,name=login_url,json=loginUrl,proto3" json:"login_url,omitempty"`
	SwitchInlineQuery            string                       `protobuf:"bytes,6,opt,name=switch_inline_query,json=switchInlineQuery,proto3" json:"switch_inline_query,omitempty"`
	SwitchInlineQueryCurrentChat string                       `` /* 151-byte string literal not displayed */
	SwitchInlineQueryChosenChat  *SwitchInlineQueryChosenChat `` /* 148-byte string literal not displayed */
	CallbackGame                 *CallbackGame                `protobuf:"bytes,9,opt,name=callback_game,json=callbackGame,proto3" json:"callback_game,omitempty"`
	Pay                          bool                         `protobuf:"varint,10,opt,name=pay,proto3" json:"pay,omitempty"`
	// contains filtered or unexported fields
}

https://core.telegram.org/bots/api#inlinekeyboardbutton

func (*InlineKeyboardButton) Descriptor deprecated added in v1.0.2

func (*InlineKeyboardButton) Descriptor() ([]byte, []int)

Deprecated: Use InlineKeyboardButton.ProtoReflect.Descriptor instead.

func (*InlineKeyboardButton) GetCallbackData added in v1.0.2

func (x *InlineKeyboardButton) GetCallbackData() string

func (*InlineKeyboardButton) GetCallbackGame added in v1.0.2

func (x *InlineKeyboardButton) GetCallbackGame() *CallbackGame

func (*InlineKeyboardButton) GetLoginUrl added in v1.0.2

func (x *InlineKeyboardButton) GetLoginUrl() *LoginURL

func (*InlineKeyboardButton) GetPay added in v1.0.2

func (x *InlineKeyboardButton) GetPay() bool

func (*InlineKeyboardButton) GetSwitchInlineQuery added in v1.0.2

func (x *InlineKeyboardButton) GetSwitchInlineQuery() string

func (*InlineKeyboardButton) GetSwitchInlineQueryChosenChat added in v1.0.2

func (x *InlineKeyboardButton) GetSwitchInlineQueryChosenChat() *SwitchInlineQueryChosenChat

func (*InlineKeyboardButton) GetSwitchInlineQueryCurrentChat added in v1.0.2

func (x *InlineKeyboardButton) GetSwitchInlineQueryCurrentChat() string

func (*InlineKeyboardButton) GetText added in v1.0.2

func (x *InlineKeyboardButton) GetText() string

func (*InlineKeyboardButton) GetUrl added in v1.0.2

func (x *InlineKeyboardButton) GetUrl() string

func (*InlineKeyboardButton) GetWebApp added in v1.0.2

func (x *InlineKeyboardButton) GetWebApp() *WebAppInfo

func (*InlineKeyboardButton) ProtoMessage added in v1.0.2

func (*InlineKeyboardButton) ProtoMessage()

func (*InlineKeyboardButton) ProtoReflect added in v1.0.2

func (x *InlineKeyboardButton) ProtoReflect() protoreflect.Message

func (*InlineKeyboardButton) Reset added in v1.0.2

func (x *InlineKeyboardButton) Reset()

func (*InlineKeyboardButton) String added in v1.0.2

func (x *InlineKeyboardButton) String() string

type InlineKeyboardMarkup

type InlineKeyboardMarkup struct {
	// contains filtered or unexported fields
}

func (*InlineKeyboardMarkup) Descriptor deprecated

func (*InlineKeyboardMarkup) Descriptor() ([]byte, []int)

Deprecated: Use InlineKeyboardMarkup.ProtoReflect.Descriptor instead.

func (*InlineKeyboardMarkup) ProtoMessage

func (*InlineKeyboardMarkup) ProtoMessage()

func (*InlineKeyboardMarkup) ProtoReflect

func (x *InlineKeyboardMarkup) ProtoReflect() protoreflect.Message

func (*InlineKeyboardMarkup) Reset

func (x *InlineKeyboardMarkup) Reset()

func (*InlineKeyboardMarkup) String

func (x *InlineKeyboardMarkup) String() string

type InlineQuery

type InlineQuery struct {
	// contains filtered or unexported fields
}

func (*InlineQuery) Descriptor deprecated

func (*InlineQuery) Descriptor() ([]byte, []int)

Deprecated: Use InlineQuery.ProtoReflect.Descriptor instead.

func (*InlineQuery) ProtoMessage

func (*InlineQuery) ProtoMessage()

func (*InlineQuery) ProtoReflect

func (x *InlineQuery) ProtoReflect() protoreflect.Message

func (*InlineQuery) Reset

func (x *InlineQuery) Reset()

func (*InlineQuery) String

func (x *InlineQuery) String() string

type Invoice

type Invoice struct {
	// contains filtered or unexported fields
}

func (*Invoice) Descriptor deprecated

func (*Invoice) Descriptor() ([]byte, []int)

Deprecated: Use Invoice.ProtoReflect.Descriptor instead.

func (*Invoice) ProtoMessage

func (*Invoice) ProtoMessage()

func (*Invoice) ProtoReflect

func (x *Invoice) ProtoReflect() protoreflect.Message

func (*Invoice) Reset

func (x *Invoice) Reset()

func (*Invoice) String

func (x *Invoice) String() string

type LinkPreviewOptions

type LinkPreviewOptions struct {
	// contains filtered or unexported fields
}

func (*LinkPreviewOptions) Descriptor deprecated

func (*LinkPreviewOptions) Descriptor() ([]byte, []int)

Deprecated: Use LinkPreviewOptions.ProtoReflect.Descriptor instead.

func (*LinkPreviewOptions) ProtoMessage

func (*LinkPreviewOptions) ProtoMessage()

func (*LinkPreviewOptions) ProtoReflect

func (x *LinkPreviewOptions) ProtoReflect() protoreflect.Message

func (*LinkPreviewOptions) Reset

func (x *LinkPreviewOptions) Reset()

func (*LinkPreviewOptions) String

func (x *LinkPreviewOptions) String() string

type Location

type Location struct {
	// contains filtered or unexported fields
}

func (*Location) Descriptor deprecated

func (*Location) Descriptor() ([]byte, []int)

Deprecated: Use Location.ProtoReflect.Descriptor instead.

func (*Location) ProtoMessage

func (*Location) ProtoMessage()

func (*Location) ProtoReflect

func (x *Location) ProtoReflect() protoreflect.Message

func (*Location) Reset

func (x *Location) Reset()

func (*Location) String

func (x *Location) String() string

type LoginURL added in v1.0.2

type LoginURL struct {
	Url                string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	ForwardText        string `protobuf:"bytes,2,opt,name=forward_text,json=forwardText,proto3" json:"forward_text,omitempty"`
	BotUsername        string `protobuf:"bytes,3,opt,name=bot_username,json=botUsername,proto3" json:"bot_username,omitempty"`
	RequestWriteAccess bool   `protobuf:"varint,4,opt,name=request_write_access,json=requestWriteAccess,proto3" json:"request_write_access,omitempty"`
	// contains filtered or unexported fields
}

https://core.telegram.org/bots/api#loginurl

func (*LoginURL) Descriptor deprecated added in v1.0.2

func (*LoginURL) Descriptor() ([]byte, []int)

Deprecated: Use LoginURL.ProtoReflect.Descriptor instead.

func (*LoginURL) GetBotUsername added in v1.0.2

func (x *LoginURL) GetBotUsername() string

func (*LoginURL) GetForwardText added in v1.0.2

func (x *LoginURL) GetForwardText() string

func (*LoginURL) GetRequestWriteAccess added in v1.0.2

func (x *LoginURL) GetRequestWriteAccess() bool

func (*LoginURL) GetUrl added in v1.0.2

func (x *LoginURL) GetUrl() string

func (*LoginURL) ProtoMessage added in v1.0.2

func (*LoginURL) ProtoMessage()

func (*LoginURL) ProtoReflect added in v1.0.2

func (x *LoginURL) ProtoReflect() protoreflect.Message

func (*LoginURL) Reset added in v1.0.2

func (x *LoginURL) Reset()

func (*LoginURL) String added in v1.0.2

func (x *LoginURL) String() string

type Message

type Message struct {
	MessageId             uint64              `protobuf:"varint,1,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"`                                   // Unique message identifier inside this chat
	MessageThreadId       uint64              `protobuf:"varint,2,opt,name=message_thread_id,json=messageThreadId,proto3" json:"message_thread_id,omitempty"`               // Optional. Unique identifier of a message thread to which the message belongs; for supergroups only
	From                  *User               `protobuf:"bytes,3,opt,name=from,proto3" json:"from,omitempty"`                                                               // Optional. Sender of the message; may be empty for messages sent to channels. For backward compatibility, if the message was sent on behalf of a chat, the field contains a fake sender user in non-channel chats
	SenderChat            *Chat               `protobuf:"bytes,4,opt,name=sender_chat,json=senderChat,proto3" json:"sender_chat,omitempty"`                                 // Optional. Sender of the message when sent on behalf of a chat. For example, the supergroup itself for messages sent by its anonymous administrators or a linked channel for messages automatically forwarded to the channel's discussion group. For backward compatibility, if the message was sent on behalf of a chat, the field from contains a fake sender user in non-channel chats.
	SenderBoostCount      uint64              `protobuf:"varint,5,opt,name=sender_boost_count,json=senderBoostCount,proto3" json:"sender_boost_count,omitempty"`            // Optional. If the sender of the message boosted the chat, the number of boosts added by the user
	SenderBusinessBot     *User               `protobuf:"bytes,6,opt,name=sender_business_bot,json=senderBusinessBot,proto3" json:"sender_business_bot,omitempty"`          // Optional. The bot that actually sent the message on behalf of the business account. Available only for outgoing messages sent on behalf of the connected business account.
	Date                  uint32              `protobuf:"fixed32,7,opt,name=date,proto3" json:"date,omitempty"`                                                             // Date the message was sent in Unix time. It is always a positive number, representing a valid date.
	BusinessConnectionId  string              `protobuf:"bytes,8,opt,name=business_connection_id,json=businessConnectionId,proto3" json:"business_connection_id,omitempty"` // Optional. Unique identifier of the business connection from which the message was received. If non-empty, the message belongs to a chat of the corresponding business account that is independent from any potential bot chat which might share the same identifier.
	Chat                  *Chat               `protobuf:"bytes,9,opt,name=chat,proto3" json:"chat,omitempty"`                                                               // Chat the message belongs to
	ForwardOrigin         *MessageOrigin      `protobuf:"bytes,10,opt,name=forward_origin,json=forwardOrigin,proto3" json:"forward_origin,omitempty"`                       // Optional. Information about the original message for forwarded messages
	IsTopicMessage        bool                `protobuf:"varint,11,opt,name=is_topic_message,json=isTopicMessage,proto3" json:"is_topic_message,omitempty"`                 // Optional. True, if the message is sent to a forum topic
	IsAutomaticForward    bool                `protobuf:"varint,12,opt,name=is_automatic_forward,json=isAutomaticForward,proto3" json:"is_automatic_forward,omitempty"`     // Optional. True, if the message is a channel post that was automatically forwarded to the connected discussion group
	ReplyToMessage        *Message            `protobuf:"bytes,13,opt,name=reply_to_message,json=replyToMessage,proto3" json:"reply_to_message,omitempty"`                  // Optional. For replies in the same chat and message thread, the original message. Note that the Message object in this field will not contain further reply_to_message fields even if it itself is a reply.
	ExternalReply         *ExternalReplyInfo  `protobuf:"bytes,14,opt,name=external_reply,json=externalReply,proto3" json:"external_reply,omitempty"`                       // Optional. Information about the message that is being replied to, which may come from another chat or forum topic
	Quote                 *TextQuote          `protobuf:"bytes,15,opt,name=quote,proto3" json:"quote,omitempty"`                                                            // Optional. For replies that quote part of the original message, the quoted part of the message
	ReplyToStory          *Story              `protobuf:"bytes,16,opt,name=reply_to_story,json=replyToStory,proto3" json:"reply_to_story,omitempty"`                        // Optional. For replies to a story, the original story
	ViaBot                *User               `protobuf:"bytes,17,opt,name=via_bot,json=viaBot,proto3" json:"via_bot,omitempty"`                                            // Optional. Bot through which the message was sent
	EditDate              uint32              `protobuf:"fixed32,18,opt,name=edit_date,json=editDate,proto3" json:"edit_date,omitempty"`                                    // Optional. Date the message was last edited in Unix time
	HasProtectedContent   bool                `protobuf:"varint,19,opt,name=has_protected_content,json=hasProtectedContent,proto3" json:"has_protected_content,omitempty"`  // Optional. True, if the message can't be forwarded
	IsFromOffline         bool                `protobuf:"varint,20,opt,name=is_from_offline,json=isFromOffline,proto3" json:"is_from_offline,omitempty"`                    // Optional. True, if the message was sent by an implicit action, for example, as an away or a greeting business message, or as a scheduled message
	MediaGroupId          string              `protobuf:"bytes,21,opt,name=media_group_id,json=mediaGroupId,proto3" json:"media_group_id,omitempty"`                        // Optional. The unique identifier of a media message group this message belongs to
	AuthorSignature       string              `protobuf:"bytes,22,opt,name=author_signature,json=authorSignature,proto3" json:"author_signature,omitempty"`                 // Optional. Signature of the post author for messages in channels, or the custom title of an anonymous group administrator
	Text                  string              `protobuf:"bytes,23,opt,name=text,proto3" json:"text,omitempty"`                                                              // Optional. For text messages, the actual UTF-8 text of the message
	Entities              []*MessageEntity    `protobuf:"bytes,24,rep,name=entities,proto3" json:"entities,omitempty"`                                                      // Optional. For text messages, special entities like usernames, URLs, bot commands, etc. that appear in the text
	LinkPreviewOptions    *LinkPreviewOptions `protobuf:"bytes,25,opt,name=link_preview_options,json=linkPreviewOptions,proto3" json:"link_preview_options,omitempty"`      // Optional. Options used for link preview generation for the message, if it is a text message and link preview options were changed
	EffectId              string              `protobuf:"bytes,26,opt,name=effect_id,json=effectId,proto3" json:"effect_id,omitempty"`                                      // Optional. Unique identifier of the message effect added to the message
	Animation             *Animation          `protobuf:"bytes,27,opt,name=animation,proto3" json:"animation,omitempty"`                                                    // Optional. Message is an animation, information about the animation. For backward compatibility, when this field is set, the document field will also be set
	Audio                 *Audio              `protobuf:"bytes,28,opt,name=audio,proto3" json:"audio,omitempty"`                                                            // Optional. Message is an audio file, information about the file
	Document              *Document           `protobuf:"bytes,29,opt,name=document,proto3" json:"document,omitempty"`                                                      // Optional. Message is a general file, information about the file
	PaidMedia             *PaidMediaInfo      `protobuf:"bytes,30,opt,name=paid_media,json=paidMedia,proto3" json:"paid_media,omitempty"`                                   // Optional. Message contains paid media; information about the paid media
	Photo                 []*PhotoSize        `protobuf:"bytes,31,rep,name=photo,proto3" json:"photo,omitempty"`                                                            // Optional. Message is a photo, available sizes of the photo
	Sticker               *Sticker            `protobuf:"bytes,32,opt,name=sticker,proto3" json:"sticker,omitempty"`                                                        // Optional. Message is a sticker, information about the sticker
	Story                 *Story              `protobuf:"bytes,33,opt,name=story,proto3" json:"story,omitempty"`                                                            // Optional. Message is a forwarded story
	Video                 *Video              `protobuf:"bytes,34,opt,name=video,proto3" json:"video,omitempty"`                                                            // Optional. Message is a video, information about the video
	VideoNote             *VideoNote          `protobuf:"bytes,35,opt,name=video_note,json=videoNote,proto3" json:"video_note,omitempty"`                                   // Optional. Message is a video note, information about the video message
	Voice                 *Voice              `protobuf:"bytes,36,opt,name=voice,proto3" json:"voice,omitempty"`                                                            // Optional. Message is a voice message, information about the file
	Caption               string              `protobuf:"bytes,37,opt,name=caption,proto3" json:"caption,omitempty"`                                                        // Optional. Caption for the animation, audio, document, paid media, photo, video or voice
	CaptionEntities       []*MessageEntity    `protobuf:"bytes,38,rep,name=caption_entities,json=captionEntities,proto3" json:"caption_entities,omitempty"`                 // Optional. For messages with a caption, special entities like usernames, URLs, bot commands, etc. that appear in the caption
	ShowCaptionAboveMedia bool                ``                                                                                                                            // Optional. True, if the caption must be shown above the message media
	/* 130-byte string literal not displayed */
	HasMediaSpoiler       bool         `protobuf:"varint,40,opt,name=has_media_spoiler,json=hasMediaSpoiler,proto3" json:"has_media_spoiler,omitempty"`    // Optional. True, if the message media is covered by a spoiler animation
	Contact               *Contact     `protobuf:"bytes,41,opt,name=contact,proto3" json:"contact,omitempty"`                                              // Optional. Message is a shared contact, information about the contact
	Dice                  *Dice        `protobuf:"bytes,42,opt,name=dice,proto3" json:"dice,omitempty"`                                                    // Optional. Message is a dice with random value
	Game                  *Game        `protobuf:"bytes,43,opt,name=game,proto3" json:"game,omitempty"`                                                    // Optional. Message is a game, information about the game. More about games »
	Poll                  *Poll        `protobuf:"bytes,44,opt,name=poll,proto3" json:"poll,omitempty"`                                                    // Optional. Message is a native poll, information about the poll
	Venue                 *Venue       `protobuf:"bytes,45,opt,name=venue,proto3" json:"venue,omitempty"`                                                  // Optional. Message is a venue, information about the venue. For backward compatibility, when this field is set, the location field will also be set
	Location              *Location    `protobuf:"bytes,46,opt,name=location,proto3" json:"location,omitempty"`                                            // Optional. Message is a shared location, information about the location
	NewChatMembers        []*User      `protobuf:"bytes,47,rep,name=new_chat_members,json=newChatMembers,proto3" json:"new_chat_members,omitempty"`        // Optional. New members that were added to the group or supergroup and information about them (the bot itself may be one of these members)
	LeftChatMember        *User        `protobuf:"bytes,48,opt,name=left_chat_member,json=leftChatMember,proto3" json:"left_chat_member,omitempty"`        // Optional. A member was removed from the group, information about them (this member may be the bot itself)
	NewChatTitle          string       `protobuf:"bytes,49,opt,name=new_chat_title,json=newChatTitle,proto3" json:"new_chat_title,omitempty"`              // Optional. A chat title was changed to this value
	NewChatPhoto          []*PhotoSize `protobuf:"bytes,50,rep,name=new_chat_photo,json=newChatPhoto,proto3" json:"new_chat_photo,omitempty"`              // Optional. A chat photo was change to this value
	DeleteChatPhoto       bool         `protobuf:"varint,51,opt,name=delete_chat_photo,json=deleteChatPhoto,proto3" json:"delete_chat_photo,omitempty"`    // Optional. Service message: the chat photo was deleted
	GroupChatCreated      bool         `protobuf:"varint,52,opt,name=group_chat_created,json=groupChatCreated,proto3" json:"group_chat_created,omitempty"` // Optional. Service message: the group has been created
	SupergroupChatCreated bool         ``                                                                                                                  // Optional. Service message: the supergroup has been created. This field can't be received in a message coming through updates, because bot can't be a member of a supergroup when it is created. It can only be found in reply_to_message if someone replies to a very first message in a directly created supergroup.
	/* 128-byte string literal not displayed */
	ChannelChatCreated            bool                           `protobuf:"varint,54,opt,name=channel_chat_created,json=channelChatCreated,proto3" json:"channel_chat_created,omitempty"` // Optional. Service message: the channel has been created. This field can't be received in a message coming through updates, because bot can't be a member of a channel when it is created. It can only be found in reply_to_message if someone replies to a very first message in a channel.
	MessageAutoDeleteTimerChanged *MessageAutoDeleteTimerChanged ``                                                                                                                        // Optional. Service message: auto-delete timer settings changed in the chat
	/* 155-byte string literal not displayed */
	MigrateToChatId         uint64                   `protobuf:"varint,56,opt,name=migrate_to_chat_id,json=migrateToChatId,proto3" json:"migrate_to_chat_id,omitempty"`       // Optional. The group has been migrated to a supergroup with the specified identifier. This number may have more than 32 significant bits and some programming languages may have difficulty/silent defects in interpreting it. But it has at most 52 significant bits, so a signed 64-bit integer or double-precision float type are safe for storing this identifier.
	MigrateFromChatId       uint64                   `protobuf:"varint,57,opt,name=migrate_from_chat_id,json=migrateFromChatId,proto3" json:"migrate_from_chat_id,omitempty"` // Optional. The supergroup has been migrated from a group with the specified identifier. This number may have more than 32 significant bits and some programming languages may have difficulty/silent defects in interpreting it. But it has at most 52 significant bits, so a signed 64-bit integer or double-precision float type are safe for storing this identifier.
	PinnedMessage           *Message                 `protobuf:"bytes,58,opt,name=pinned_message,json=pinnedMessage,proto3" json:"pinned_message,omitempty"`                  // Optional. Specified message was pinned. Note that the Message object in this field will not contain further reply_to_message fields even if it itself is a reply.
	Invoice                 *Invoice                 `protobuf:"bytes,59,opt,name=invoice,proto3" json:"invoice,omitempty"`                                                   // Optional. Message is an invoice for a payment, information about the invoice. More about payments »
	SuccessfulPayment       *SuccessfulPayment       `protobuf:"bytes,60,opt,name=successful_payment,json=successfulPayment,proto3" json:"successful_payment,omitempty"`      // Optional. Message is a service message about a successful payment, information about the payment. More about payments »
	RefundedPayment         *RefundedPayment         `protobuf:"bytes,61,opt,name=refunded_payment,json=refundedPayment,proto3" json:"refunded_payment,omitempty"`            // Optional. Message is a service message about a refunded payment, information about the payment. More about payments »
	UsersShared             *UsersShared             `protobuf:"bytes,62,opt,name=users_shared,json=usersShared,proto3" json:"users_shared,omitempty"`                        // Optional. Service message: users were shared with the bot
	ChatShared              *ChatShared              `protobuf:"bytes,63,opt,name=chat_shared,json=chatShared,proto3" json:"chat_shared,omitempty"`                           // Optional. Service message: a chat was shared with the bot
	ConnectedWebsite        string                   `protobuf:"bytes,64,opt,name=connected_website,json=connectedWebsite,proto3" json:"connected_website,omitempty"`         // Optional. The domain name of the website on which the user has logged in. More about Telegram Login »
	WriteAccessAllowed      *WriteAccessAllowed      `protobuf:"bytes,65,opt,name=write_access_allowed,json=writeAccessAllowed,proto3" json:"write_access_allowed,omitempty"` // Optional. Service message: the user allowed the bot to write messages after adding it to the attachment or side menu, launching a Web App from a link, or accepting an explicit request from a Web App sent by the method requestWriteAccess
	PassportData            *PassportData            `protobuf:"bytes,66,opt,name=passport_data,json=passportData,proto3" json:"passport_data,omitempty"`                     // Optional. Telegram Passport data
	ProximityAlertTriggered *ProximityAlertTriggered ``                                                                                                                       // Optional. Service message. A user in the chat triggered another user's proximity alert while sharing Live Location.
	/* 133-byte string literal not displayed */
	BoostAdded              *ChatBoostAdded          `protobuf:"bytes,68,opt,name=boost_added,json=boostAdded,proto3" json:"boost_added,omitempty"`                           // Optional. Service message: user boosted the chat
	ChatBackgroundSet       *ChatBackground          `protobuf:"bytes,69,opt,name=chat_background_set,json=chatBackgroundSet,proto3" json:"chat_background_set,omitempty"`    // Optional. Service message: chat background set
	ForumTopicCreated       *ForumTopicCreated       `protobuf:"bytes,70,opt,name=forum_topic_created,json=forumTopicCreated,proto3" json:"forum_topic_created,omitempty"`    // Optional. Service message: forum topic created
	ForumTopicEdited        *ForumTopicEdited        `protobuf:"bytes,71,opt,name=forum_topic_edited,json=forumTopicEdited,proto3" json:"forum_topic_edited,omitempty"`       // Optional. Service message: forum topic edited
	ForumTopicClosed        *ForumTopicClosed        `protobuf:"bytes,72,opt,name=forum_topic_closed,json=forumTopicClosed,proto3" json:"forum_topic_closed,omitempty"`       // Optional. Service message: forum topic closed
	ForumTopicReopened      *ForumTopicReopened      `protobuf:"bytes,73,opt,name=forum_topic_reopened,json=forumTopicReopened,proto3" json:"forum_topic_reopened,omitempty"` // Optional. Service message: forum topic reopened
	GeneralForumTopicHidden *GeneralForumTopicHidden ``                                                                                                                       // Optional. Service message: the 'General' forum topic hidden
	/* 135-byte string literal not displayed */
	GeneralForumTopicUnhidden *GeneralForumTopicUnhidden `` // Optional. Service message: the 'General' forum topic unhidden
	/* 141-byte string literal not displayed */
	GiveawayCreated              *GiveawayCreated              `protobuf:"bytes,76,opt,name=giveaway_created,json=giveawayCreated,proto3" json:"giveaway_created,omitempty"`            // Optional. Service message: a scheduled giveaway was created
	Giveaway                     *Giveaway                     `protobuf:"bytes,77,opt,name=giveaway,proto3" json:"giveaway,omitempty"`                                                 // Optional. The message is a scheduled giveaway message
	GiveawayWinners              *GiveawayWinners              `protobuf:"bytes,78,opt,name=giveaway_winners,json=giveawayWinners,proto3" json:"giveaway_winners,omitempty"`            // Optional. A giveaway with public winners was completed
	GiveawayCompleted            *GiveawayCompleted            `protobuf:"bytes,79,opt,name=giveaway_completed,json=giveawayCompleted,proto3" json:"giveaway_completed,omitempty"`      // Optional. Service message: a giveaway without public winners was completed
	VideoChatScheduled           *VideoChatScheduled           `protobuf:"bytes,80,opt,name=video_chat_scheduled,json=videoChatScheduled,proto3" json:"video_chat_scheduled,omitempty"` // Optional. Service message: video chat scheduled
	VideoChatStarted             *VideoChatStarted             `protobuf:"bytes,81,opt,name=video_chat_started,json=videoChatStarted,proto3" json:"video_chat_started,omitempty"`       // Optional. Service message: video chat started
	VideoChatEnded               *VideoChatEnded               `protobuf:"bytes,82,opt,name=video_chat_ended,json=videoChatEnded,proto3" json:"video_chat_ended,omitempty"`             // Optional. Service message: video chat ended
	VideoChatParticipantsInvited *VideoChatParticipantsInvited ``                                                                                                                       // Optional. Service message: new participants invited to a video chat
	/* 150-byte string literal not displayed */
	WebAppData  *WebAppData           `protobuf:"bytes,84,opt,name=web_app_data,json=webAppData,proto3" json:"web_app_data,omitempty"`  // Optional. Service message: data sent by a Web App
	ReplyMarkup *InlineKeyboardMarkup `protobuf:"bytes,85,opt,name=reply_markup,json=replyMarkup,proto3" json:"reply_markup,omitempty"` // Optional. Inline keyboard attached to the message. login_url buttons are represented as ordinary url buttons.
	// contains filtered or unexported fields
}

Define messages for InlineKeyboardMarkup, ReplyKeyboardMarkup, ReplyKeyboardRemove, and ForceReply as required.

func (*Message) Descriptor deprecated

func (*Message) Descriptor() ([]byte, []int)

Deprecated: Use Message.ProtoReflect.Descriptor instead.

func (*Message) GetAnimation

func (x *Message) GetAnimation() *Animation

func (*Message) GetAudio

func (x *Message) GetAudio() *Audio

func (*Message) GetAuthorSignature

func (x *Message) GetAuthorSignature() string

func (*Message) GetBoostAdded

func (x *Message) GetBoostAdded() *ChatBoostAdded

func (*Message) GetBusinessConnectionId

func (x *Message) GetBusinessConnectionId() string

func (*Message) GetCaption

func (x *Message) GetCaption() string

func (*Message) GetCaptionEntities

func (x *Message) GetCaptionEntities() []*MessageEntity

func (*Message) GetChannelChatCreated

func (x *Message) GetChannelChatCreated() bool

func (*Message) GetChat

func (x *Message) GetChat() *Chat

func (*Message) GetChatBackgroundSet

func (x *Message) GetChatBackgroundSet() *ChatBackground

func (*Message) GetChatShared

func (x *Message) GetChatShared() *ChatShared

func (*Message) GetConnectedWebsite

func (x *Message) GetConnectedWebsite() string

func (*Message) GetContact

func (x *Message) GetContact() *Contact

func (*Message) GetDate

func (x *Message) GetDate() uint32

func (*Message) GetDeleteChatPhoto

func (x *Message) GetDeleteChatPhoto() bool

func (*Message) GetDice

func (x *Message) GetDice() *Dice

func (*Message) GetDocument

func (x *Message) GetDocument() *Document

func (*Message) GetEditDate

func (x *Message) GetEditDate() uint32

func (*Message) GetEffectId

func (x *Message) GetEffectId() string

func (*Message) GetEntities

func (x *Message) GetEntities() []*MessageEntity

func (*Message) GetExternalReply

func (x *Message) GetExternalReply() *ExternalReplyInfo

func (*Message) GetForumTopicClosed

func (x *Message) GetForumTopicClosed() *ForumTopicClosed

func (*Message) GetForumTopicCreated

func (x *Message) GetForumTopicCreated() *ForumTopicCreated

func (*Message) GetForumTopicEdited

func (x *Message) GetForumTopicEdited() *ForumTopicEdited

func (*Message) GetForumTopicReopened

func (x *Message) GetForumTopicReopened() *ForumTopicReopened

func (*Message) GetForwardOrigin

func (x *Message) GetForwardOrigin() *MessageOrigin

func (*Message) GetFrom

func (x *Message) GetFrom() *User

func (*Message) GetGame

func (x *Message) GetGame() *Game

func (*Message) GetGeneralForumTopicHidden

func (x *Message) GetGeneralForumTopicHidden() *GeneralForumTopicHidden

func (*Message) GetGeneralForumTopicUnhidden

func (x *Message) GetGeneralForumTopicUnhidden() *GeneralForumTopicUnhidden

func (*Message) GetGiveaway

func (x *Message) GetGiveaway() *Giveaway

func (*Message) GetGiveawayCompleted

func (x *Message) GetGiveawayCompleted() *GiveawayCompleted

func (*Message) GetGiveawayCreated

func (x *Message) GetGiveawayCreated() *GiveawayCreated

func (*Message) GetGiveawayWinners

func (x *Message) GetGiveawayWinners() *GiveawayWinners

func (*Message) GetGroupChatCreated

func (x *Message) GetGroupChatCreated() bool

func (*Message) GetHasMediaSpoiler

func (x *Message) GetHasMediaSpoiler() bool

func (*Message) GetHasProtectedContent

func (x *Message) GetHasProtectedContent() bool

func (*Message) GetInvoice

func (x *Message) GetInvoice() *Invoice

func (*Message) GetIsAutomaticForward

func (x *Message) GetIsAutomaticForward() bool

func (*Message) GetIsFromOffline

func (x *Message) GetIsFromOffline() bool

func (*Message) GetIsTopicMessage

func (x *Message) GetIsTopicMessage() bool

func (*Message) GetLeftChatMember

func (x *Message) GetLeftChatMember() *User

func (*Message) GetLinkPreviewOptions

func (x *Message) GetLinkPreviewOptions() *LinkPreviewOptions

func (*Message) GetLocation

func (x *Message) GetLocation() *Location

func (*Message) GetMediaGroupId

func (x *Message) GetMediaGroupId() string

func (*Message) GetMessageAutoDeleteTimerChanged

func (x *Message) GetMessageAutoDeleteTimerChanged() *MessageAutoDeleteTimerChanged

func (*Message) GetMessageId

func (x *Message) GetMessageId() uint64

func (*Message) GetMessageThreadId

func (x *Message) GetMessageThreadId() uint64

func (*Message) GetMigrateFromChatId

func (x *Message) GetMigrateFromChatId() uint64

func (*Message) GetMigrateToChatId

func (x *Message) GetMigrateToChatId() uint64

func (*Message) GetNewChatMembers

func (x *Message) GetNewChatMembers() []*User

func (*Message) GetNewChatPhoto

func (x *Message) GetNewChatPhoto() []*PhotoSize

func (*Message) GetNewChatTitle

func (x *Message) GetNewChatTitle() string

func (*Message) GetPaidMedia

func (x *Message) GetPaidMedia() *PaidMediaInfo

func (*Message) GetPassportData

func (x *Message) GetPassportData() *PassportData

func (*Message) GetPhoto

func (x *Message) GetPhoto() []*PhotoSize

func (*Message) GetPinnedMessage

func (x *Message) GetPinnedMessage() *Message

func (*Message) GetPoll

func (x *Message) GetPoll() *Poll

func (*Message) GetProximityAlertTriggered

func (x *Message) GetProximityAlertTriggered() *ProximityAlertTriggered

func (*Message) GetQuote

func (x *Message) GetQuote() *TextQuote

func (*Message) GetRefundedPayment

func (x *Message) GetRefundedPayment() *RefundedPayment

func (*Message) GetReplyMarkup

func (x *Message) GetReplyMarkup() *InlineKeyboardMarkup

func (*Message) GetReplyToMessage

func (x *Message) GetReplyToMessage() *Message

func (*Message) GetReplyToStory

func (x *Message) GetReplyToStory() *Story

func (*Message) GetSenderBoostCount

func (x *Message) GetSenderBoostCount() uint64

func (*Message) GetSenderBusinessBot

func (x *Message) GetSenderBusinessBot() *User

func (*Message) GetSenderChat

func (x *Message) GetSenderChat() *Chat

func (*Message) GetShowCaptionAboveMedia

func (x *Message) GetShowCaptionAboveMedia() bool

func (*Message) GetSticker

func (x *Message) GetSticker() *Sticker

func (*Message) GetStory

func (x *Message) GetStory() *Story

func (*Message) GetSuccessfulPayment

func (x *Message) GetSuccessfulPayment() *SuccessfulPayment

func (*Message) GetSupergroupChatCreated

func (x *Message) GetSupergroupChatCreated() bool

func (*Message) GetText

func (x *Message) GetText() string

func (*Message) GetUsersShared

func (x *Message) GetUsersShared() *UsersShared

func (*Message) GetVenue

func (x *Message) GetVenue() *Venue

func (*Message) GetViaBot

func (x *Message) GetViaBot() *User

func (*Message) GetVideo

func (x *Message) GetVideo() *Video

func (*Message) GetVideoChatEnded

func (x *Message) GetVideoChatEnded() *VideoChatEnded

func (*Message) GetVideoChatParticipantsInvited

func (x *Message) GetVideoChatParticipantsInvited() *VideoChatParticipantsInvited

func (*Message) GetVideoChatScheduled

func (x *Message) GetVideoChatScheduled() *VideoChatScheduled

func (*Message) GetVideoChatStarted

func (x *Message) GetVideoChatStarted() *VideoChatStarted

func (*Message) GetVideoNote

func (x *Message) GetVideoNote() *VideoNote

func (*Message) GetVoice

func (x *Message) GetVoice() *Voice

func (*Message) GetWebAppData

func (x *Message) GetWebAppData() *WebAppData

func (*Message) GetWriteAccessAllowed

func (x *Message) GetWriteAccessAllowed() *WriteAccessAllowed

func (*Message) ProtoMessage

func (*Message) ProtoMessage()

func (*Message) ProtoReflect

func (x *Message) ProtoReflect() protoreflect.Message

func (*Message) Reset

func (x *Message) Reset()

func (*Message) String

func (x *Message) String() string

type MessageAutoDeleteTimerChanged

type MessageAutoDeleteTimerChanged struct {
	// contains filtered or unexported fields
}

func (*MessageAutoDeleteTimerChanged) Descriptor deprecated

func (*MessageAutoDeleteTimerChanged) Descriptor() ([]byte, []int)

Deprecated: Use MessageAutoDeleteTimerChanged.ProtoReflect.Descriptor instead.

func (*MessageAutoDeleteTimerChanged) ProtoMessage

func (*MessageAutoDeleteTimerChanged) ProtoMessage()

func (*MessageAutoDeleteTimerChanged) ProtoReflect

func (*MessageAutoDeleteTimerChanged) Reset

func (x *MessageAutoDeleteTimerChanged) Reset()

func (*MessageAutoDeleteTimerChanged) String

type MessageEntity

type MessageEntity struct {
	// contains filtered or unexported fields
}

func (*MessageEntity) Descriptor deprecated

func (*MessageEntity) Descriptor() ([]byte, []int)

Deprecated: Use MessageEntity.ProtoReflect.Descriptor instead.

func (*MessageEntity) ProtoMessage

func (*MessageEntity) ProtoMessage()

func (*MessageEntity) ProtoReflect

func (x *MessageEntity) ProtoReflect() protoreflect.Message

func (*MessageEntity) Reset

func (x *MessageEntity) Reset()

func (*MessageEntity) String

func (x *MessageEntity) String() string

type MessageOrigin

type MessageOrigin struct {
	// contains filtered or unexported fields
}

func (*MessageOrigin) Descriptor deprecated

func (*MessageOrigin) Descriptor() ([]byte, []int)

Deprecated: Use MessageOrigin.ProtoReflect.Descriptor instead.

func (*MessageOrigin) ProtoMessage

func (*MessageOrigin) ProtoMessage()

func (*MessageOrigin) ProtoReflect

func (x *MessageOrigin) ProtoReflect() protoreflect.Message

func (*MessageOrigin) Reset

func (x *MessageOrigin) Reset()

func (*MessageOrigin) String

func (x *MessageOrigin) String() string

type MessageReactionCountUpdated

type MessageReactionCountUpdated struct {
	// contains filtered or unexported fields
}

func (*MessageReactionCountUpdated) Descriptor deprecated

func (*MessageReactionCountUpdated) Descriptor() ([]byte, []int)

Deprecated: Use MessageReactionCountUpdated.ProtoReflect.Descriptor instead.

func (*MessageReactionCountUpdated) ProtoMessage

func (*MessageReactionCountUpdated) ProtoMessage()

func (*MessageReactionCountUpdated) ProtoReflect

func (*MessageReactionCountUpdated) Reset

func (x *MessageReactionCountUpdated) Reset()

func (*MessageReactionCountUpdated) String

func (x *MessageReactionCountUpdated) String() string

type MessageReactionUpdated

type MessageReactionUpdated struct {
	// contains filtered or unexported fields
}

func (*MessageReactionUpdated) Descriptor deprecated

func (*MessageReactionUpdated) Descriptor() ([]byte, []int)

Deprecated: Use MessageReactionUpdated.ProtoReflect.Descriptor instead.

func (*MessageReactionUpdated) ProtoMessage

func (*MessageReactionUpdated) ProtoMessage()

func (*MessageReactionUpdated) ProtoReflect

func (x *MessageReactionUpdated) ProtoReflect() protoreflect.Message

func (*MessageReactionUpdated) Reset

func (x *MessageReactionUpdated) Reset()

func (*MessageReactionUpdated) String

func (x *MessageReactionUpdated) String() string

type PaidMediaInfo

type PaidMediaInfo struct {
	// contains filtered or unexported fields
}

func (*PaidMediaInfo) Descriptor deprecated

func (*PaidMediaInfo) Descriptor() ([]byte, []int)

Deprecated: Use PaidMediaInfo.ProtoReflect.Descriptor instead.

func (*PaidMediaInfo) ProtoMessage

func (*PaidMediaInfo) ProtoMessage()

func (*PaidMediaInfo) ProtoReflect

func (x *PaidMediaInfo) ProtoReflect() protoreflect.Message

func (*PaidMediaInfo) Reset

func (x *PaidMediaInfo) Reset()

func (*PaidMediaInfo) String

func (x *PaidMediaInfo) String() string

type PassportData

type PassportData struct {
	// contains filtered or unexported fields
}

func (*PassportData) Descriptor deprecated

func (*PassportData) Descriptor() ([]byte, []int)

Deprecated: Use PassportData.ProtoReflect.Descriptor instead.

func (*PassportData) ProtoMessage

func (*PassportData) ProtoMessage()

func (*PassportData) ProtoReflect

func (x *PassportData) ProtoReflect() protoreflect.Message

func (*PassportData) Reset

func (x *PassportData) Reset()

func (*PassportData) String

func (x *PassportData) String() string

type Photo added in v1.0.3

type Photo struct {
	FileId       string `protobuf:"bytes,1,opt,name=file_id,json=fileId,proto3" json:"file_id,omitempty"`
	FileUniqueId string `protobuf:"bytes,2,opt,name=file_unique_id,json=fileUniqueId,proto3" json:"file_unique_id,omitempty"`
	FileSize     uint64 `protobuf:"varint,3,opt,name=file_size,json=fileSize,proto3" json:"file_size,omitempty"`
	Width        uint32 `protobuf:"varint,4,opt,name=width,proto3" json:"width,omitempty"`
	Height       uint32 `protobuf:"varint,5,opt,name=height,proto3" json:"height,omitempty"`
	// contains filtered or unexported fields
}

func (*Photo) Descriptor deprecated added in v1.0.3

func (*Photo) Descriptor() ([]byte, []int)

Deprecated: Use Photo.ProtoReflect.Descriptor instead.

func (*Photo) GetFileId added in v1.0.3

func (x *Photo) GetFileId() string

func (*Photo) GetFileSize added in v1.0.3

func (x *Photo) GetFileSize() uint64

func (*Photo) GetFileUniqueId added in v1.0.3

func (x *Photo) GetFileUniqueId() string

func (*Photo) GetHeight added in v1.0.3

func (x *Photo) GetHeight() uint32

func (*Photo) GetWidth added in v1.0.3

func (x *Photo) GetWidth() uint32

func (*Photo) ProtoMessage added in v1.0.3

func (*Photo) ProtoMessage()

func (*Photo) ProtoReflect added in v1.0.3

func (x *Photo) ProtoReflect() protoreflect.Message

func (*Photo) Reset added in v1.0.3

func (x *Photo) Reset()

func (*Photo) String added in v1.0.3

func (x *Photo) String() string

type PhotoReturn added in v1.0.3

type PhotoReturn struct {
	MessageId uint64   `protobuf:"varint,1,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"`
	From      *User    `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"`
	Chat      *Chat    `protobuf:"bytes,3,opt,name=chat,proto3" json:"chat,omitempty"`
	Date      uint64   `protobuf:"varint,4,opt,name=date,proto3" json:"date,omitempty"`
	Photo     []*Photo `protobuf:"bytes,5,rep,name=photo,proto3" json:"photo,omitempty"`
	// contains filtered or unexported fields
}

func (*PhotoReturn) Descriptor deprecated added in v1.0.3

func (*PhotoReturn) Descriptor() ([]byte, []int)

Deprecated: Use PhotoReturn.ProtoReflect.Descriptor instead.

func (*PhotoReturn) GetChat added in v1.0.3

func (x *PhotoReturn) GetChat() *Chat

func (*PhotoReturn) GetDate added in v1.0.3

func (x *PhotoReturn) GetDate() uint64

func (*PhotoReturn) GetFrom added in v1.0.3

func (x *PhotoReturn) GetFrom() *User

func (*PhotoReturn) GetMessageId added in v1.0.3

func (x *PhotoReturn) GetMessageId() uint64

func (*PhotoReturn) GetPhoto added in v1.0.3

func (x *PhotoReturn) GetPhoto() []*Photo

func (*PhotoReturn) ProtoMessage added in v1.0.3

func (*PhotoReturn) ProtoMessage()

func (*PhotoReturn) ProtoReflect added in v1.0.3

func (x *PhotoReturn) ProtoReflect() protoreflect.Message

func (*PhotoReturn) Reset added in v1.0.3

func (x *PhotoReturn) Reset()

func (*PhotoReturn) String added in v1.0.3

func (x *PhotoReturn) String() string

type PhotoSize

type PhotoSize struct {
	FileId       string `protobuf:"bytes,1,opt,name=file_id,json=fileId,proto3" json:"file_id,omitempty"`
	FileUniqueId string `protobuf:"bytes,2,opt,name=file_unique_id,json=fileUniqueId,proto3" json:"file_unique_id,omitempty"`
	Width        uint32 `protobuf:"varint,3,opt,name=width,proto3" json:"width,omitempty"`
	Height       uint32 `protobuf:"varint,4,opt,name=height,proto3" json:"height,omitempty"`
	FileSize     uint64 `protobuf:"varint,5,opt,name=file_size,json=fileSize,proto3" json:"file_size,omitempty"`
	// contains filtered or unexported fields
}

https://core.telegram.org/bots/api#photosize

func (*PhotoSize) Descriptor deprecated

func (*PhotoSize) Descriptor() ([]byte, []int)

Deprecated: Use PhotoSize.ProtoReflect.Descriptor instead.

func (*PhotoSize) GetFileId added in v1.0.2

func (x *PhotoSize) GetFileId() string

func (*PhotoSize) GetFileSize added in v1.0.2

func (x *PhotoSize) GetFileSize() uint64

func (*PhotoSize) GetFileUniqueId added in v1.0.2

func (x *PhotoSize) GetFileUniqueId() string

func (*PhotoSize) GetHeight added in v1.0.2

func (x *PhotoSize) GetHeight() uint32

func (*PhotoSize) GetWidth added in v1.0.2

func (x *PhotoSize) GetWidth() uint32

func (*PhotoSize) ProtoMessage

func (*PhotoSize) ProtoMessage()

func (*PhotoSize) ProtoReflect

func (x *PhotoSize) ProtoReflect() protoreflect.Message

func (*PhotoSize) Reset

func (x *PhotoSize) Reset()

func (*PhotoSize) String

func (x *PhotoSize) String() string

type Poll

type Poll struct {
	// contains filtered or unexported fields
}

func (*Poll) Descriptor deprecated

func (*Poll) Descriptor() ([]byte, []int)

Deprecated: Use Poll.ProtoReflect.Descriptor instead.

func (*Poll) ProtoMessage

func (*Poll) ProtoMessage()

func (*Poll) ProtoReflect

func (x *Poll) ProtoReflect() protoreflect.Message

func (*Poll) Reset

func (x *Poll) Reset()

func (*Poll) String

func (x *Poll) String() string

type PollAnswer

type PollAnswer struct {
	// contains filtered or unexported fields
}

func (*PollAnswer) Descriptor deprecated

func (*PollAnswer) Descriptor() ([]byte, []int)

Deprecated: Use PollAnswer.ProtoReflect.Descriptor instead.

func (*PollAnswer) ProtoMessage

func (*PollAnswer) ProtoMessage()

func (*PollAnswer) ProtoReflect

func (x *PollAnswer) ProtoReflect() protoreflect.Message

func (*PollAnswer) Reset

func (x *PollAnswer) Reset()

func (*PollAnswer) String

func (x *PollAnswer) String() string

type PreCheckoutQuery

type PreCheckoutQuery struct {
	// contains filtered or unexported fields
}

func (*PreCheckoutQuery) Descriptor deprecated

func (*PreCheckoutQuery) Descriptor() ([]byte, []int)

Deprecated: Use PreCheckoutQuery.ProtoReflect.Descriptor instead.

func (*PreCheckoutQuery) ProtoMessage

func (*PreCheckoutQuery) ProtoMessage()

func (*PreCheckoutQuery) ProtoReflect

func (x *PreCheckoutQuery) ProtoReflect() protoreflect.Message

func (*PreCheckoutQuery) Reset

func (x *PreCheckoutQuery) Reset()

func (*PreCheckoutQuery) String

func (x *PreCheckoutQuery) String() string

type ProximityAlertTriggered

type ProximityAlertTriggered struct {
	// contains filtered or unexported fields
}

func (*ProximityAlertTriggered) Descriptor deprecated

func (*ProximityAlertTriggered) Descriptor() ([]byte, []int)

Deprecated: Use ProximityAlertTriggered.ProtoReflect.Descriptor instead.

func (*ProximityAlertTriggered) ProtoMessage

func (*ProximityAlertTriggered) ProtoMessage()

func (*ProximityAlertTriggered) ProtoReflect

func (x *ProximityAlertTriggered) ProtoReflect() protoreflect.Message

func (*ProximityAlertTriggered) Reset

func (x *ProximityAlertTriggered) Reset()

func (*ProximityAlertTriggered) String

func (x *ProximityAlertTriggered) String() string

type RefundedPayment

type RefundedPayment struct {
	// contains filtered or unexported fields
}

func (*RefundedPayment) Descriptor deprecated

func (*RefundedPayment) Descriptor() ([]byte, []int)

Deprecated: Use RefundedPayment.ProtoReflect.Descriptor instead.

func (*RefundedPayment) ProtoMessage

func (*RefundedPayment) ProtoMessage()

func (*RefundedPayment) ProtoReflect

func (x *RefundedPayment) ProtoReflect() protoreflect.Message

func (*RefundedPayment) Reset

func (x *RefundedPayment) Reset()

func (*RefundedPayment) String

func (x *RefundedPayment) String() string

type ReplyKeyboardMarkup

type ReplyKeyboardMarkup struct {
	// contains filtered or unexported fields
}

func (*ReplyKeyboardMarkup) Descriptor deprecated

func (*ReplyKeyboardMarkup) Descriptor() ([]byte, []int)

Deprecated: Use ReplyKeyboardMarkup.ProtoReflect.Descriptor instead.

func (*ReplyKeyboardMarkup) ProtoMessage

func (*ReplyKeyboardMarkup) ProtoMessage()

func (*ReplyKeyboardMarkup) ProtoReflect

func (x *ReplyKeyboardMarkup) ProtoReflect() protoreflect.Message

func (*ReplyKeyboardMarkup) Reset

func (x *ReplyKeyboardMarkup) Reset()

func (*ReplyKeyboardMarkup) String

func (x *ReplyKeyboardMarkup) String() string

type ReplyKeyboardRemove

type ReplyKeyboardRemove struct {
	// contains filtered or unexported fields
}

func (*ReplyKeyboardRemove) Descriptor deprecated

func (*ReplyKeyboardRemove) Descriptor() ([]byte, []int)

Deprecated: Use ReplyKeyboardRemove.ProtoReflect.Descriptor instead.

func (*ReplyKeyboardRemove) ProtoMessage

func (*ReplyKeyboardRemove) ProtoMessage()

func (*ReplyKeyboardRemove) ProtoReflect

func (x *ReplyKeyboardRemove) ProtoReflect() protoreflect.Message

func (*ReplyKeyboardRemove) Reset

func (x *ReplyKeyboardRemove) Reset()

func (*ReplyKeyboardRemove) String

func (x *ReplyKeyboardRemove) String() string

type ReplyMarkup

type ReplyMarkup struct {

	// Oneof is used here to represent possible types of reply markup
	//
	// Types that are assignable to Markup:
	//
	//	*ReplyMarkup_InlineKeyboard
	//	*ReplyMarkup_ReplyKeyboard
	//	*ReplyMarkup_RemoveKeyboard
	//	*ReplyMarkup_ForceReply
	Markup isReplyMarkup_Markup `protobuf_oneof:"markup"`
	// contains filtered or unexported fields
}

Message representing reply markup options.

func (*ReplyMarkup) Descriptor deprecated

func (*ReplyMarkup) Descriptor() ([]byte, []int)

Deprecated: Use ReplyMarkup.ProtoReflect.Descriptor instead.

func (*ReplyMarkup) GetForceReply

func (x *ReplyMarkup) GetForceReply() *ForceReply

func (*ReplyMarkup) GetInlineKeyboard

func (x *ReplyMarkup) GetInlineKeyboard() *InlineKeyboardMarkup

func (*ReplyMarkup) GetMarkup

func (m *ReplyMarkup) GetMarkup() isReplyMarkup_Markup

func (*ReplyMarkup) GetRemoveKeyboard

func (x *ReplyMarkup) GetRemoveKeyboard() *ReplyKeyboardRemove

func (*ReplyMarkup) GetReplyKeyboard

func (x *ReplyMarkup) GetReplyKeyboard() *ReplyKeyboardMarkup

func (*ReplyMarkup) ProtoMessage

func (*ReplyMarkup) ProtoMessage()

func (*ReplyMarkup) ProtoReflect

func (x *ReplyMarkup) ProtoReflect() protoreflect.Message

func (*ReplyMarkup) Reset

func (x *ReplyMarkup) Reset()

func (*ReplyMarkup) String

func (x *ReplyMarkup) String() string

type ReplyMarkup_ForceReply

type ReplyMarkup_ForceReply struct {
	ForceReply *ForceReply `protobuf:"bytes,4,opt,name=force_reply,json=forceReply,proto3,oneof"`
}

type ReplyMarkup_InlineKeyboard

type ReplyMarkup_InlineKeyboard struct {
	InlineKeyboard *InlineKeyboardMarkup `protobuf:"bytes,1,opt,name=inline_keyboard,json=inlineKeyboard,proto3,oneof"`
}

type ReplyMarkup_RemoveKeyboard

type ReplyMarkup_RemoveKeyboard struct {
	RemoveKeyboard *ReplyKeyboardRemove `protobuf:"bytes,3,opt,name=remove_keyboard,json=removeKeyboard,proto3,oneof"`
}

type ReplyMarkup_ReplyKeyboard

type ReplyMarkup_ReplyKeyboard struct {
	ReplyKeyboard *ReplyKeyboardMarkup `protobuf:"bytes,2,opt,name=reply_keyboard,json=replyKeyboard,proto3,oneof"`
}

type ReplyParameters

type ReplyParameters struct {
	MessageId                uint64           `protobuf:"varint,1,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"`
	ChatId                   string           `protobuf:"bytes,2,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"`
	AllowSendingWithoutReply bool             `` /* 138-byte string literal not displayed */
	Quote                    string           `protobuf:"bytes,4,opt,name=quote,proto3" json:"quote,omitempty"`
	QuoteParseMode           string           `protobuf:"bytes,5,opt,name=quote_parse_mode,json=quoteParseMode,proto3" json:"quote_parse_mode,omitempty"`
	QuoteEntities            []*MessageEntity `protobuf:"bytes,6,rep,name=quote_entities,json=quoteEntities,proto3" json:"quote_entities,omitempty"`
	QuotePosition            uint64           `protobuf:"varint,7,opt,name=quote_position,json=quotePosition,proto3" json:"quote_position,omitempty"`
	// contains filtered or unexported fields
}

func (*ReplyParameters) Descriptor deprecated

func (*ReplyParameters) Descriptor() ([]byte, []int)

Deprecated: Use ReplyParameters.ProtoReflect.Descriptor instead.

func (*ReplyParameters) GetAllowSendingWithoutReply added in v1.0.2

func (x *ReplyParameters) GetAllowSendingWithoutReply() bool

func (*ReplyParameters) GetChatId added in v1.0.2

func (x *ReplyParameters) GetChatId() string

func (*ReplyParameters) GetMessageId added in v1.0.2

func (x *ReplyParameters) GetMessageId() uint64

func (*ReplyParameters) GetQuote added in v1.0.2

func (x *ReplyParameters) GetQuote() string

func (*ReplyParameters) GetQuoteEntities added in v1.0.2

func (x *ReplyParameters) GetQuoteEntities() []*MessageEntity

func (*ReplyParameters) GetQuoteParseMode added in v1.0.2

func (x *ReplyParameters) GetQuoteParseMode() string

func (*ReplyParameters) GetQuotePosition added in v1.0.2

func (x *ReplyParameters) GetQuotePosition() uint64

func (*ReplyParameters) ProtoMessage

func (*ReplyParameters) ProtoMessage()

func (*ReplyParameters) ProtoReflect

func (x *ReplyParameters) ProtoReflect() protoreflect.Message

func (*ReplyParameters) Reset

func (x *ReplyParameters) Reset()

func (*ReplyParameters) String

func (x *ReplyParameters) String() string

type SendAnimation added in v1.0.5

type SendAnimation struct {
	BusinessConnectionId  string           `protobuf:"bytes,1,opt,name=business_connection_id,json=businessConnectionId,proto3" json:"business_connection_id,omitempty"`
	ChatId                string           `protobuf:"bytes,2,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"`
	MessageThreadId       int64            `protobuf:"varint,3,opt,name=message_thread_id,json=messageThreadId,proto3" json:"message_thread_id,omitempty"`
	Animation             string           `protobuf:"bytes,4,opt,name=animation,proto3" json:"animation,omitempty"`
	Caption               string           `protobuf:"bytes,5,opt,name=caption,proto3" json:"caption,omitempty"`
	ParseMode             string           `protobuf:"bytes,6,opt,name=parse_mode,json=parseMode,proto3" json:"parse_mode,omitempty"`
	CaptionEntities       []*MessageEntity `protobuf:"bytes,7,rep,name=caption_entities,json=captionEntities,proto3" json:"caption_entities,omitempty"`
	ShowCaptionAboveMedia bool             `` /* 129-byte string literal not displayed */
	HasSpoiler            bool             `protobuf:"varint,9,opt,name=has_spoiler,json=hasSpoiler,proto3" json:"has_spoiler,omitempty"`
	DisableNotification   bool             `protobuf:"varint,10,opt,name=disable_notification,json=disableNotification,proto3" json:"disable_notification,omitempty"`
	ProtectContent        bool             `protobuf:"varint,11,opt,name=protect_content,json=protectContent,proto3" json:"protect_content,omitempty"`
	MessageEffectId       string           `protobuf:"bytes,12,opt,name=message_effect_id,json=messageEffectId,proto3" json:"message_effect_id,omitempty"`
	ReplyParameters       *ReplyParameters `protobuf:"bytes,13,opt,name=reply_parameters,json=replyParameters,proto3" json:"reply_parameters,omitempty"`
	ReplyMarkup           *ReplyMarkup     `protobuf:"bytes,14,opt,name=reply_markup,json=replyMarkup,proto3" json:"reply_markup,omitempty"`
	Duration              uint32           `protobuf:"varint,15,opt,name=duration,proto3" json:"duration,omitempty"`
	Width                 uint32           `protobuf:"varint,16,opt,name=width,proto3" json:"width,omitempty"`
	Height                uint32           `protobuf:"varint,17,opt,name=height,proto3" json:"height,omitempty"`
	Thumbnail             string           `protobuf:"bytes,18,opt,name=thumbnail,proto3" json:"thumbnail,omitempty"`
	// contains filtered or unexported fields
}

func (*SendAnimation) Descriptor deprecated added in v1.0.5

func (*SendAnimation) Descriptor() ([]byte, []int)

Deprecated: Use SendAnimation.ProtoReflect.Descriptor instead.

func (*SendAnimation) GetAnimation added in v1.0.5

func (x *SendAnimation) GetAnimation() string

func (*SendAnimation) GetBusinessConnectionId added in v1.0.5

func (x *SendAnimation) GetBusinessConnectionId() string

func (*SendAnimation) GetCaption added in v1.0.5

func (x *SendAnimation) GetCaption() string

func (*SendAnimation) GetCaptionEntities added in v1.0.5

func (x *SendAnimation) GetCaptionEntities() []*MessageEntity

func (*SendAnimation) GetChatId added in v1.0.5

func (x *SendAnimation) GetChatId() string

func (*SendAnimation) GetDisableNotification added in v1.0.5

func (x *SendAnimation) GetDisableNotification() bool

func (*SendAnimation) GetDuration added in v1.0.5

func (x *SendAnimation) GetDuration() uint32

func (*SendAnimation) GetHasSpoiler added in v1.0.5

func (x *SendAnimation) GetHasSpoiler() bool

func (*SendAnimation) GetHeight added in v1.0.5

func (x *SendAnimation) GetHeight() uint32

func (*SendAnimation) GetMessageEffectId added in v1.0.5

func (x *SendAnimation) GetMessageEffectId() string

func (*SendAnimation) GetMessageThreadId added in v1.0.5

func (x *SendAnimation) GetMessageThreadId() int64

func (*SendAnimation) GetParseMode added in v1.0.5

func (x *SendAnimation) GetParseMode() string

func (*SendAnimation) GetProtectContent added in v1.0.5

func (x *SendAnimation) GetProtectContent() bool

func (*SendAnimation) GetReplyMarkup added in v1.0.5

func (x *SendAnimation) GetReplyMarkup() *ReplyMarkup

func (*SendAnimation) GetReplyParameters added in v1.0.5

func (x *SendAnimation) GetReplyParameters() *ReplyParameters

func (*SendAnimation) GetShowCaptionAboveMedia added in v1.0.5

func (x *SendAnimation) GetShowCaptionAboveMedia() bool

func (*SendAnimation) GetThumbnail added in v1.0.5

func (x *SendAnimation) GetThumbnail() string

func (*SendAnimation) GetWidth added in v1.0.5

func (x *SendAnimation) GetWidth() uint32

func (*SendAnimation) ProtoMessage added in v1.0.5

func (*SendAnimation) ProtoMessage()

func (*SendAnimation) ProtoReflect added in v1.0.5

func (x *SendAnimation) ProtoReflect() protoreflect.Message

func (*SendAnimation) Reset added in v1.0.5

func (x *SendAnimation) Reset()

func (*SendAnimation) String added in v1.0.5

func (x *SendAnimation) String() string

type SendChatAction

type SendChatAction struct {
	BusinessConnectionId string `protobuf:"bytes,1,opt,name=business_connection_id,json=businessConnectionId,proto3" json:"business_connection_id,omitempty"`
	ChatId               string `protobuf:"bytes,2,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"`
	MessageThreadId      uint64 `protobuf:"varint,3,opt,name=message_thread_id,json=messageThreadId,proto3" json:"message_thread_id,omitempty"`
	Action               string `protobuf:"bytes,4,opt,name=action,proto3" json:"action,omitempty"`
	// contains filtered or unexported fields
}

func (*SendChatAction) Descriptor deprecated

func (*SendChatAction) Descriptor() ([]byte, []int)

Deprecated: Use SendChatAction.ProtoReflect.Descriptor instead.

func (*SendChatAction) GetAction

func (x *SendChatAction) GetAction() string

func (*SendChatAction) GetBusinessConnectionId

func (x *SendChatAction) GetBusinessConnectionId() string

func (*SendChatAction) GetChatId

func (x *SendChatAction) GetChatId() string

func (*SendChatAction) GetMessageThreadId

func (x *SendChatAction) GetMessageThreadId() uint64

func (*SendChatAction) ProtoMessage

func (*SendChatAction) ProtoMessage()

func (*SendChatAction) ProtoReflect

func (x *SendChatAction) ProtoReflect() protoreflect.Message

func (*SendChatAction) Reset

func (x *SendChatAction) Reset()

func (*SendChatAction) String

func (x *SendChatAction) String() string

type SendMessage

type SendMessage struct {

	// Unique identifier of the business connection on behalf of which the message will be sent
	BusinessConnectionId string `protobuf:"bytes,1,opt,name=business_connection_id,json=businessConnectionId,proto3" json:"business_connection_id,omitempty"`
	// Unique identifier for the target chat or username of the target channel (in the format @channelusername)
	ChatId string `protobuf:"bytes,2,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"`
	// Unique identifier for the target message thread (topic) of the forum; for forum supergroups only
	MessageThreadId uint64 `protobuf:"varint,3,opt,name=message_thread_id,json=messageThreadId,proto3" json:"message_thread_id,omitempty"`
	// Text of the message to be sent, 1-4096 characters after entities parsing
	Text string `protobuf:"bytes,4,opt,name=text,proto3" json:"text,omitempty"`
	// Mode for parsing entities in the message text. See formatting options for more details
	ParseMode string `protobuf:"bytes,5,opt,name=parse_mode,json=parseMode,proto3" json:"parse_mode,omitempty"`
	// A list of special entities that appear in message text, which can be specified instead of parse_mode
	Entities []*MessageEntity `protobuf:"bytes,6,rep,name=entities,proto3" json:"entities,omitempty"`
	// Link preview generation options for the message
	LinkPreviewOptions *LinkPreviewOptions `protobuf:"bytes,7,opt,name=link_preview_options,json=linkPreviewOptions,proto3" json:"link_preview_options,omitempty"`
	// Sends the message silently. Users will receive a notification with no sound
	DisableNotification bool `protobuf:"varint,8,opt,name=disable_notification,json=disableNotification,proto3" json:"disable_notification,omitempty"`
	// Protects the contents of the sent message from forwarding and saving
	ProtectContent bool `protobuf:"varint,9,opt,name=protect_content,json=protectContent,proto3" json:"protect_content,omitempty"`
	// Unique identifier of the message effect to be added to the message; for private chats only
	MessageEffectId string `protobuf:"bytes,10,opt,name=message_effect_id,json=messageEffectId,proto3" json:"message_effect_id,omitempty"`
	// Description of the message to reply to
	ReplyParameters *ReplyParameters `protobuf:"bytes,11,opt,name=reply_parameters,json=replyParameters,proto3" json:"reply_parameters,omitempty"`
	// Additional interface options. A serialized object for an inline keyboard, custom reply keyboard, instructions to remove a reply keyboard or to force a reply from the user
	ReplyMarkup *ReplyMarkup `protobuf:"bytes,12,opt,name=reply_markup,json=replyMarkup,proto3" json:"reply_markup,omitempty"`
	// contains filtered or unexported fields
}

Message representing a request to send a message.

func (*SendMessage) Descriptor deprecated

func (*SendMessage) Descriptor() ([]byte, []int)

Deprecated: Use SendMessage.ProtoReflect.Descriptor instead.

func (*SendMessage) GetBusinessConnectionId

func (x *SendMessage) GetBusinessConnectionId() string

func (*SendMessage) GetChatId

func (x *SendMessage) GetChatId() string

func (*SendMessage) GetDisableNotification

func (x *SendMessage) GetDisableNotification() bool

func (*SendMessage) GetEntities

func (x *SendMessage) GetEntities() []*MessageEntity

func (*SendMessage) GetLinkPreviewOptions

func (x *SendMessage) GetLinkPreviewOptions() *LinkPreviewOptions

func (*SendMessage) GetMessageEffectId

func (x *SendMessage) GetMessageEffectId() string

func (*SendMessage) GetMessageThreadId

func (x *SendMessage) GetMessageThreadId() uint64

func (*SendMessage) GetParseMode

func (x *SendMessage) GetParseMode() string

func (*SendMessage) GetProtectContent

func (x *SendMessage) GetProtectContent() bool

func (*SendMessage) GetReplyMarkup

func (x *SendMessage) GetReplyMarkup() *ReplyMarkup

func (*SendMessage) GetReplyParameters

func (x *SendMessage) GetReplyParameters() *ReplyParameters

func (*SendMessage) GetText

func (x *SendMessage) GetText() string

func (*SendMessage) ProtoMessage

func (*SendMessage) ProtoMessage()

func (*SendMessage) ProtoReflect

func (x *SendMessage) ProtoReflect() protoreflect.Message

func (*SendMessage) Reset

func (x *SendMessage) Reset()

func (*SendMessage) String

func (x *SendMessage) String() string

type SendPhoto added in v1.0.5

type SendPhoto struct {
	BusinessConnectionId  string           `protobuf:"bytes,1,opt,name=business_connection_id,json=businessConnectionId,proto3" json:"business_connection_id,omitempty"`
	ChatId                string           `protobuf:"bytes,2,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"`
	MessageThreadId       int64            `protobuf:"varint,3,opt,name=message_thread_id,json=messageThreadId,proto3" json:"message_thread_id,omitempty"`
	Photo                 string           `protobuf:"bytes,4,opt,name=photo,proto3" json:"photo,omitempty"`
	Caption               string           `protobuf:"bytes,5,opt,name=caption,proto3" json:"caption,omitempty"`
	ParseMode             string           `protobuf:"bytes,6,opt,name=parse_mode,json=parseMode,proto3" json:"parse_mode,omitempty"`
	CaptionEntities       []*MessageEntity `protobuf:"bytes,7,rep,name=caption_entities,json=captionEntities,proto3" json:"caption_entities,omitempty"`
	ShowCaptionAboveMedia bool             `` /* 129-byte string literal not displayed */
	HasSpoiler            bool             `protobuf:"varint,9,opt,name=has_spoiler,json=hasSpoiler,proto3" json:"has_spoiler,omitempty"`
	DisableNotification   bool             `protobuf:"varint,10,opt,name=disable_notification,json=disableNotification,proto3" json:"disable_notification,omitempty"`
	ProtectContent        bool             `protobuf:"varint,11,opt,name=protect_content,json=protectContent,proto3" json:"protect_content,omitempty"`
	MessageEffectId       string           `protobuf:"bytes,12,opt,name=message_effect_id,json=messageEffectId,proto3" json:"message_effect_id,omitempty"`
	ReplyParameters       *ReplyParameters `protobuf:"bytes,13,opt,name=reply_parameters,json=replyParameters,proto3" json:"reply_parameters,omitempty"`
	ReplyMarkup           *ReplyMarkup     `protobuf:"bytes,14,opt,name=reply_markup,json=replyMarkup,proto3" json:"reply_markup,omitempty"`
	// contains filtered or unexported fields
}

func (*SendPhoto) Descriptor deprecated added in v1.0.5

func (*SendPhoto) Descriptor() ([]byte, []int)

Deprecated: Use SendPhoto.ProtoReflect.Descriptor instead.

func (*SendPhoto) GetBusinessConnectionId added in v1.0.5

func (x *SendPhoto) GetBusinessConnectionId() string

func (*SendPhoto) GetCaption added in v1.0.5

func (x *SendPhoto) GetCaption() string

func (*SendPhoto) GetCaptionEntities added in v1.0.5

func (x *SendPhoto) GetCaptionEntities() []*MessageEntity

func (*SendPhoto) GetChatId added in v1.0.5

func (x *SendPhoto) GetChatId() string

func (*SendPhoto) GetDisableNotification added in v1.0.5

func (x *SendPhoto) GetDisableNotification() bool

func (*SendPhoto) GetHasSpoiler added in v1.0.5

func (x *SendPhoto) GetHasSpoiler() bool

func (*SendPhoto) GetMessageEffectId added in v1.0.5

func (x *SendPhoto) GetMessageEffectId() string

func (*SendPhoto) GetMessageThreadId added in v1.0.5

func (x *SendPhoto) GetMessageThreadId() int64

func (*SendPhoto) GetParseMode added in v1.0.5

func (x *SendPhoto) GetParseMode() string

func (*SendPhoto) GetPhoto added in v1.0.5

func (x *SendPhoto) GetPhoto() string

func (*SendPhoto) GetProtectContent added in v1.0.5

func (x *SendPhoto) GetProtectContent() bool

func (*SendPhoto) GetReplyMarkup added in v1.0.5

func (x *SendPhoto) GetReplyMarkup() *ReplyMarkup

func (*SendPhoto) GetReplyParameters added in v1.0.5

func (x *SendPhoto) GetReplyParameters() *ReplyParameters

func (*SendPhoto) GetShowCaptionAboveMedia added in v1.0.5

func (x *SendPhoto) GetShowCaptionAboveMedia() bool

func (*SendPhoto) ProtoMessage added in v1.0.5

func (*SendPhoto) ProtoMessage()

func (*SendPhoto) ProtoReflect added in v1.0.5

func (x *SendPhoto) ProtoReflect() protoreflect.Message

func (*SendPhoto) Reset added in v1.0.5

func (x *SendPhoto) Reset()

func (*SendPhoto) String added in v1.0.5

func (x *SendPhoto) String() string

type ShippingQuery

type ShippingQuery struct {
	// contains filtered or unexported fields
}

func (*ShippingQuery) Descriptor deprecated

func (*ShippingQuery) Descriptor() ([]byte, []int)

Deprecated: Use ShippingQuery.ProtoReflect.Descriptor instead.

func (*ShippingQuery) ProtoMessage

func (*ShippingQuery) ProtoMessage()

func (*ShippingQuery) ProtoReflect

func (x *ShippingQuery) ProtoReflect() protoreflect.Message

func (*ShippingQuery) Reset

func (x *ShippingQuery) Reset()

func (*ShippingQuery) String

func (x *ShippingQuery) String() string

type Sticker

type Sticker struct {
	// contains filtered or unexported fields
}

func (*Sticker) Descriptor deprecated

func (*Sticker) Descriptor() ([]byte, []int)

Deprecated: Use Sticker.ProtoReflect.Descriptor instead.

func (*Sticker) ProtoMessage

func (*Sticker) ProtoMessage()

func (*Sticker) ProtoReflect

func (x *Sticker) ProtoReflect() protoreflect.Message

func (*Sticker) Reset

func (x *Sticker) Reset()

func (*Sticker) String

func (x *Sticker) String() string

type Story

type Story struct {
	// contains filtered or unexported fields
}

func (*Story) Descriptor deprecated

func (*Story) Descriptor() ([]byte, []int)

Deprecated: Use Story.ProtoReflect.Descriptor instead.

func (*Story) ProtoMessage

func (*Story) ProtoMessage()

func (*Story) ProtoReflect

func (x *Story) ProtoReflect() protoreflect.Message

func (*Story) Reset

func (x *Story) Reset()

func (*Story) String

func (x *Story) String() string

type SuccessfulPayment

type SuccessfulPayment struct {
	// contains filtered or unexported fields
}

func (*SuccessfulPayment) Descriptor deprecated

func (*SuccessfulPayment) Descriptor() ([]byte, []int)

Deprecated: Use SuccessfulPayment.ProtoReflect.Descriptor instead.

func (*SuccessfulPayment) ProtoMessage

func (*SuccessfulPayment) ProtoMessage()

func (*SuccessfulPayment) ProtoReflect

func (x *SuccessfulPayment) ProtoReflect() protoreflect.Message

func (*SuccessfulPayment) Reset

func (x *SuccessfulPayment) Reset()

func (*SuccessfulPayment) String

func (x *SuccessfulPayment) String() string

type SwitchInlineQueryChosenChat added in v1.0.2

type SwitchInlineQueryChosenChat struct {
	Query             string `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"`
	AllowUserChats    bool   `protobuf:"varint,2,opt,name=allow_user_chats,json=allowUserChats,proto3" json:"allow_user_chats,omitempty"`
	AllowBotChats     bool   `protobuf:"varint,3,opt,name=allow_bot_chats,json=allowBotChats,proto3" json:"allow_bot_chats,omitempty"`
	AllowGroupChats   bool   `protobuf:"varint,4,opt,name=allow_group_chats,json=allowGroupChats,proto3" json:"allow_group_chats,omitempty"`
	AllowChannelChats bool   `protobuf:"varint,5,opt,name=allow_channel_chats,json=allowChannelChats,proto3" json:"allow_channel_chats,omitempty"`
	// contains filtered or unexported fields
}

https://core.telegram.org/bots/api#switchinlinequerychosenchat

func (*SwitchInlineQueryChosenChat) Descriptor deprecated added in v1.0.2

func (*SwitchInlineQueryChosenChat) Descriptor() ([]byte, []int)

Deprecated: Use SwitchInlineQueryChosenChat.ProtoReflect.Descriptor instead.

func (*SwitchInlineQueryChosenChat) GetAllowBotChats added in v1.0.2

func (x *SwitchInlineQueryChosenChat) GetAllowBotChats() bool

func (*SwitchInlineQueryChosenChat) GetAllowChannelChats added in v1.0.2

func (x *SwitchInlineQueryChosenChat) GetAllowChannelChats() bool

func (*SwitchInlineQueryChosenChat) GetAllowGroupChats added in v1.0.2

func (x *SwitchInlineQueryChosenChat) GetAllowGroupChats() bool

func (*SwitchInlineQueryChosenChat) GetAllowUserChats added in v1.0.2

func (x *SwitchInlineQueryChosenChat) GetAllowUserChats() bool

func (*SwitchInlineQueryChosenChat) GetQuery added in v1.0.2

func (x *SwitchInlineQueryChosenChat) GetQuery() string

func (*SwitchInlineQueryChosenChat) ProtoMessage added in v1.0.2

func (*SwitchInlineQueryChosenChat) ProtoMessage()

func (*SwitchInlineQueryChosenChat) ProtoReflect added in v1.0.2

func (*SwitchInlineQueryChosenChat) Reset added in v1.0.2

func (x *SwitchInlineQueryChosenChat) Reset()

func (*SwitchInlineQueryChosenChat) String added in v1.0.2

func (x *SwitchInlineQueryChosenChat) String() string

type TextQuote

type TextQuote struct {
	// contains filtered or unexported fields
}

func (*TextQuote) Descriptor deprecated

func (*TextQuote) Descriptor() ([]byte, []int)

Deprecated: Use TextQuote.ProtoReflect.Descriptor instead.

func (*TextQuote) ProtoMessage

func (*TextQuote) ProtoMessage()

func (*TextQuote) ProtoReflect

func (x *TextQuote) ProtoReflect() protoreflect.Message

func (*TextQuote) Reset

func (x *TextQuote) Reset()

func (*TextQuote) String

func (x *TextQuote) String() string

type Update

type Update struct {

	// The update's unique identifier. Update identifiers start from a certain
	// positive number and increase sequentially. This identifier becomes
	// especially handy if you're using webhooks, since it allows you to ignore
	// repeated updates or to restore the correct update sequence, should they
	// get out of order. If there are no new updates for at least a week, then
	// the identifier of the next update will be chosen randomly instead of sequentially.
	UpdateId uint64 `protobuf:"varint,1,opt,name=update_id,json=updateId,proto3" json:"update_id,omitempty"`
	// Optional. New incoming message of any kind - text, photo, sticker, etc.
	Message *Message `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// Optional. New version of a message that is known to the bot and was edited.
	// This update may at times be triggered by changes to message fields that
	// are either unavailable or not actively used by your bot.
	EditedMessage *Message `protobuf:"bytes,3,opt,name=edited_message,json=editedMessage,proto3" json:"edited_message,omitempty"`
	// Optional. New incoming channel post of any kind - text, photo, sticker, etc.
	ChannelPost *Message `protobuf:"bytes,4,opt,name=channel_post,json=channelPost,proto3" json:"channel_post,omitempty"`
	// Optional. New version of a channel post that is known to the bot and was edited.
	// This update may at times be triggered by changes to message fields that
	// are either unavailable or not actively used by your bot.
	EditedChannelPost *Message `protobuf:"bytes,5,opt,name=edited_channel_post,json=editedChannelPost,proto3" json:"edited_channel_post,omitempty"`
	// Optional. The bot was connected to or disconnected from a business account,
	// or a user edited an existing connection with the bot.
	BusinessConnection *BusinessConnection `protobuf:"bytes,6,opt,name=business_connection,json=businessConnection,proto3" json:"business_connection,omitempty"`
	// Optional. New message from a connected business account.
	BusinessMessage *Message `protobuf:"bytes,7,opt,name=business_message,json=businessMessage,proto3" json:"business_message,omitempty"`
	// Optional. New version of a message from a connected business account.
	EditedBusinessMessage *Message `` /* 126-byte string literal not displayed */
	// Optional. Messages were deleted from a connected business account.
	DeletedBusinessMessages *BusinessMessagesDeleted `` /* 132-byte string literal not displayed */
	// Optional. A reaction to a message was changed by a user.
	// The bot must be an administrator in the chat and must explicitly specify
	// "message_reaction" in the list of allowed_updates to receive these updates.
	// The update isn't received for reactions set by bots.
	MessageReaction *MessageReactionUpdated `protobuf:"bytes,10,opt,name=message_reaction,json=messageReaction,proto3" json:"message_reaction,omitempty"`
	// Optional. Reactions to a message with anonymous reactions were changed.
	// The bot must be an administrator in the chat and must explicitly specify
	// "message_reaction_count" in the list of allowed_updates to receive these updates.
	// The updates are grouped and can be sent with delay up to a few minutes.
	MessageReactionCount *MessageReactionCountUpdated `protobuf:"bytes,11,opt,name=message_reaction_count,json=messageReactionCount,proto3" json:"message_reaction_count,omitempty"`
	// Optional. New incoming inline query.
	InlineQuery *InlineQuery `protobuf:"bytes,12,opt,name=inline_query,json=inlineQuery,proto3" json:"inline_query,omitempty"`
	// Optional. The result of an inline query that was chosen by a user and sent to their chat partner.
	// Please see our documentation on the feedback collecting for details on how to enable these updates for your bot.
	ChosenInlineResult *ChosenInlineResult `protobuf:"bytes,13,opt,name=chosen_inline_result,json=chosenInlineResult,proto3" json:"chosen_inline_result,omitempty"`
	// Optional. New incoming callback query.
	CallbackQuery *CallbackQuery `protobuf:"bytes,14,opt,name=callback_query,json=callbackQuery,proto3" json:"callback_query,omitempty"`
	// Optional. New incoming shipping query. Only for invoices with flexible price.
	ShippingQuery *ShippingQuery `protobuf:"bytes,15,opt,name=shipping_query,json=shippingQuery,proto3" json:"shipping_query,omitempty"`
	// Optional. New incoming pre-checkout query. Contains full information about checkout.
	PreCheckoutQuery *PreCheckoutQuery `protobuf:"bytes,16,opt,name=pre_checkout_query,json=preCheckoutQuery,proto3" json:"pre_checkout_query,omitempty"`
	// Optional. New poll state. Bots receive only updates about manually stopped polls
	// and polls, which are sent by the bot.
	Poll *Poll `protobuf:"bytes,17,opt,name=poll,proto3" json:"poll,omitempty"`
	// Optional. A user changed their answer in a non-anonymous poll.
	// Bots receive new votes only in polls that were sent by the bot itself.
	PollAnswer *PollAnswer `protobuf:"bytes,18,opt,name=poll_answer,json=pollAnswer,proto3" json:"poll_answer,omitempty"`
	// Optional. The bot's chat member status was updated in a chat.
	// For private chats, this update is received only when the bot is blocked or unblocked by the user.
	MyChatMember *ChatMemberUpdated `protobuf:"bytes,19,opt,name=my_chat_member,json=myChatMember,proto3" json:"my_chat_member,omitempty"`
	// Optional. A chat member's status was updated in a chat.
	// The bot must be an administrator in the chat and must explicitly specify
	// "chat_member" in the list of allowed_updates to receive these updates.
	ChatMember *ChatMemberUpdated `protobuf:"bytes,20,opt,name=chat_member,json=chatMember,proto3" json:"chat_member,omitempty"`
	// Optional. A request to join the chat has been sent.
	// The bot must have the can_invite_users administrator right in the chat to receive these updates.
	ChatJoinRequest *ChatJoinRequest `protobuf:"bytes,21,opt,name=chat_join_request,json=chatJoinRequest,proto3" json:"chat_join_request,omitempty"`
	// Optional. A chat boost was added or changed.
	// The bot must be an administrator in the chat to receive these updates.
	ChatBoost *ChatBoostUpdated `protobuf:"bytes,22,opt,name=chat_boost,json=chatBoost,proto3" json:"chat_boost,omitempty"`
	// Optional. A boost was removed from a chat.
	// The bot must be an administrator in the chat to receive these updates.
	RemovedChatBoost *ChatBoostRemoved `protobuf:"bytes,23,opt,name=removed_chat_boost,json=removedChatBoost,proto3" json:"removed_chat_boost,omitempty"`
	// contains filtered or unexported fields
}

func (*Update) Descriptor deprecated

func (*Update) Descriptor() ([]byte, []int)

Deprecated: Use Update.ProtoReflect.Descriptor instead.

func (*Update) GetBusinessConnection

func (x *Update) GetBusinessConnection() *BusinessConnection

func (*Update) GetBusinessMessage

func (x *Update) GetBusinessMessage() *Message

func (*Update) GetCallbackQuery

func (x *Update) GetCallbackQuery() *CallbackQuery

func (*Update) GetChannelPost

func (x *Update) GetChannelPost() *Message

func (*Update) GetChatBoost

func (x *Update) GetChatBoost() *ChatBoostUpdated

func (*Update) GetChatJoinRequest

func (x *Update) GetChatJoinRequest() *ChatJoinRequest

func (*Update) GetChatMember

func (x *Update) GetChatMember() *ChatMemberUpdated

func (*Update) GetChosenInlineResult

func (x *Update) GetChosenInlineResult() *ChosenInlineResult

func (*Update) GetDeletedBusinessMessages

func (x *Update) GetDeletedBusinessMessages() *BusinessMessagesDeleted

func (*Update) GetEditedBusinessMessage

func (x *Update) GetEditedBusinessMessage() *Message

func (*Update) GetEditedChannelPost

func (x *Update) GetEditedChannelPost() *Message

func (*Update) GetEditedMessage

func (x *Update) GetEditedMessage() *Message

func (*Update) GetInlineQuery

func (x *Update) GetInlineQuery() *InlineQuery

func (*Update) GetMessage

func (x *Update) GetMessage() *Message

func (*Update) GetMessageReaction

func (x *Update) GetMessageReaction() *MessageReactionUpdated

func (*Update) GetMessageReactionCount

func (x *Update) GetMessageReactionCount() *MessageReactionCountUpdated

func (*Update) GetMyChatMember

func (x *Update) GetMyChatMember() *ChatMemberUpdated

func (*Update) GetPoll

func (x *Update) GetPoll() *Poll

func (*Update) GetPollAnswer

func (x *Update) GetPollAnswer() *PollAnswer

func (*Update) GetPreCheckoutQuery

func (x *Update) GetPreCheckoutQuery() *PreCheckoutQuery

func (*Update) GetRemovedChatBoost

func (x *Update) GetRemovedChatBoost() *ChatBoostRemoved

func (*Update) GetShippingQuery

func (x *Update) GetShippingQuery() *ShippingQuery

func (*Update) GetUpdateId

func (x *Update) GetUpdateId() uint64

func (*Update) ProtoMessage

func (*Update) ProtoMessage()

func (*Update) ProtoReflect

func (x *Update) ProtoReflect() protoreflect.Message

func (*Update) Reset

func (x *Update) Reset()

func (*Update) String

func (x *Update) String() string

type User

type User struct {

	// Unique identifier for this user or bot. This number may have more than 32
	// significant bits and some programming languages may have difficulty/silent
	// defects in interpreting it. But it has at most 52 significant bits, so a
	// 64-bit integer or double-precision float type are safe for storing this identifier.
	Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// True, if this user is a bot.
	IsBot bool `protobuf:"varint,2,opt,name=is_bot,json=isBot,proto3" json:"is_bot,omitempty"`
	// User's or bot's first name.
	FirstName string `protobuf:"bytes,3,opt,name=first_name,json=firstName,proto3" json:"first_name,omitempty"`
	// Optional. User's or bot's last name.
	LastName string `protobuf:"bytes,4,opt,name=last_name,json=lastName,proto3" json:"last_name,omitempty"`
	// Optional. User's or bot's username.
	Username string `protobuf:"bytes,5,opt,name=username,proto3" json:"username,omitempty"`
	// Optional. IETF language tag of the user's language.
	LanguageCode string `protobuf:"bytes,6,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
	// Optional. True, if this user is a Telegram Premium user.
	IsPremium bool `protobuf:"varint,7,opt,name=is_premium,json=isPremium,proto3" json:"is_premium,omitempty"`
	// Optional. True, if this user added the bot to the attachment menu.
	AddedToAttachmentMenu bool `` /* 129-byte string literal not displayed */
	// Optional. True, if the bot can be invited to groups. Returned only in getMe.
	CanJoinGroups bool `protobuf:"varint,9,opt,name=can_join_groups,json=canJoinGroups,proto3" json:"can_join_groups,omitempty"`
	// Optional. True, if privacy mode is disabled for the bot. Returned only in getMe.
	CanReadAllGroupMessages bool `` /* 138-byte string literal not displayed */
	// Optional. True, if the bot supports inline queries. Returned only in getMe.
	SupportsInlineQueries bool `` /* 128-byte string literal not displayed */
	// Optional. True, if the bot can be connected to a Telegram Business account
	// to receive its messages. Returned only in getMe.
	CanConnectToBusiness bool `` /* 127-byte string literal not displayed */
	// Optional. True, if the bot has a main Web App. Returned only in getMe.
	HasMainWebApp bool `protobuf:"varint,13,opt,name=has_main_web_app,json=hasMainWebApp,proto3" json:"has_main_web_app,omitempty"`
	// contains filtered or unexported fields
}

func (*User) Descriptor deprecated

func (*User) Descriptor() ([]byte, []int)

Deprecated: Use User.ProtoReflect.Descriptor instead.

func (*User) GetAddedToAttachmentMenu

func (x *User) GetAddedToAttachmentMenu() bool

func (*User) GetCanConnectToBusiness

func (x *User) GetCanConnectToBusiness() bool

func (*User) GetCanJoinGroups

func (x *User) GetCanJoinGroups() bool

func (*User) GetCanReadAllGroupMessages

func (x *User) GetCanReadAllGroupMessages() bool

func (*User) GetFirstName

func (x *User) GetFirstName() string

func (*User) GetHasMainWebApp

func (x *User) GetHasMainWebApp() bool

func (*User) GetId

func (x *User) GetId() uint64

func (*User) GetIsBot

func (x *User) GetIsBot() bool

func (*User) GetIsPremium

func (x *User) GetIsPremium() bool

func (*User) GetLanguageCode

func (x *User) GetLanguageCode() string

func (*User) GetLastName

func (x *User) GetLastName() string

func (*User) GetSupportsInlineQueries

func (x *User) GetSupportsInlineQueries() bool

func (*User) GetUsername

func (x *User) GetUsername() string

func (*User) IDStr added in v1.0.2

func (x *User) IDStr() string

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) ProtoReflect

func (x *User) ProtoReflect() protoreflect.Message

func (*User) Reset

func (x *User) Reset()

func (*User) String

func (x *User) String() string

type UsersShared

type UsersShared struct {
	// contains filtered or unexported fields
}

func (*UsersShared) Descriptor deprecated

func (*UsersShared) Descriptor() ([]byte, []int)

Deprecated: Use UsersShared.ProtoReflect.Descriptor instead.

func (*UsersShared) ProtoMessage

func (*UsersShared) ProtoMessage()

func (*UsersShared) ProtoReflect

func (x *UsersShared) ProtoReflect() protoreflect.Message

func (*UsersShared) Reset

func (x *UsersShared) Reset()

func (*UsersShared) String

func (x *UsersShared) String() string

type Venue

type Venue struct {
	// contains filtered or unexported fields
}

func (*Venue) Descriptor deprecated

func (*Venue) Descriptor() ([]byte, []int)

Deprecated: Use Venue.ProtoReflect.Descriptor instead.

func (*Venue) ProtoMessage

func (*Venue) ProtoMessage()

func (*Venue) ProtoReflect

func (x *Venue) ProtoReflect() protoreflect.Message

func (*Venue) Reset

func (x *Venue) Reset()

func (*Venue) String

func (x *Venue) String() string

type Video

type Video struct {
	// contains filtered or unexported fields
}

func (*Video) Descriptor deprecated

func (*Video) Descriptor() ([]byte, []int)

Deprecated: Use Video.ProtoReflect.Descriptor instead.

func (*Video) ProtoMessage

func (*Video) ProtoMessage()

func (*Video) ProtoReflect

func (x *Video) ProtoReflect() protoreflect.Message

func (*Video) Reset

func (x *Video) Reset()

func (*Video) String

func (x *Video) String() string

type VideoChatEnded

type VideoChatEnded struct {
	// contains filtered or unexported fields
}

func (*VideoChatEnded) Descriptor deprecated

func (*VideoChatEnded) Descriptor() ([]byte, []int)

Deprecated: Use VideoChatEnded.ProtoReflect.Descriptor instead.

func (*VideoChatEnded) ProtoMessage

func (*VideoChatEnded) ProtoMessage()

func (*VideoChatEnded) ProtoReflect

func (x *VideoChatEnded) ProtoReflect() protoreflect.Message

func (*VideoChatEnded) Reset

func (x *VideoChatEnded) Reset()

func (*VideoChatEnded) String

func (x *VideoChatEnded) String() string

type VideoChatParticipantsInvited

type VideoChatParticipantsInvited struct {
	// contains filtered or unexported fields
}

func (*VideoChatParticipantsInvited) Descriptor deprecated

func (*VideoChatParticipantsInvited) Descriptor() ([]byte, []int)

Deprecated: Use VideoChatParticipantsInvited.ProtoReflect.Descriptor instead.

func (*VideoChatParticipantsInvited) ProtoMessage

func (*VideoChatParticipantsInvited) ProtoMessage()

func (*VideoChatParticipantsInvited) ProtoReflect

func (*VideoChatParticipantsInvited) Reset

func (x *VideoChatParticipantsInvited) Reset()

func (*VideoChatParticipantsInvited) String

type VideoChatScheduled

type VideoChatScheduled struct {
	// contains filtered or unexported fields
}

func (*VideoChatScheduled) Descriptor deprecated

func (*VideoChatScheduled) Descriptor() ([]byte, []int)

Deprecated: Use VideoChatScheduled.ProtoReflect.Descriptor instead.

func (*VideoChatScheduled) ProtoMessage

func (*VideoChatScheduled) ProtoMessage()

func (*VideoChatScheduled) ProtoReflect

func (x *VideoChatScheduled) ProtoReflect() protoreflect.Message

func (*VideoChatScheduled) Reset

func (x *VideoChatScheduled) Reset()

func (*VideoChatScheduled) String

func (x *VideoChatScheduled) String() string

type VideoChatStarted

type VideoChatStarted struct {
	// contains filtered or unexported fields
}

func (*VideoChatStarted) Descriptor deprecated

func (*VideoChatStarted) Descriptor() ([]byte, []int)

Deprecated: Use VideoChatStarted.ProtoReflect.Descriptor instead.

func (*VideoChatStarted) ProtoMessage

func (*VideoChatStarted) ProtoMessage()

func (*VideoChatStarted) ProtoReflect

func (x *VideoChatStarted) ProtoReflect() protoreflect.Message

func (*VideoChatStarted) Reset

func (x *VideoChatStarted) Reset()

func (*VideoChatStarted) String

func (x *VideoChatStarted) String() string

type VideoNote

type VideoNote struct {
	// contains filtered or unexported fields
}

func (*VideoNote) Descriptor deprecated

func (*VideoNote) Descriptor() ([]byte, []int)

Deprecated: Use VideoNote.ProtoReflect.Descriptor instead.

func (*VideoNote) ProtoMessage

func (*VideoNote) ProtoMessage()

func (*VideoNote) ProtoReflect

func (x *VideoNote) ProtoReflect() protoreflect.Message

func (*VideoNote) Reset

func (x *VideoNote) Reset()

func (*VideoNote) String

func (x *VideoNote) String() string

type Voice

type Voice struct {
	// contains filtered or unexported fields
}

func (*Voice) Descriptor deprecated

func (*Voice) Descriptor() ([]byte, []int)

Deprecated: Use Voice.ProtoReflect.Descriptor instead.

func (*Voice) ProtoMessage

func (*Voice) ProtoMessage()

func (*Voice) ProtoReflect

func (x *Voice) ProtoReflect() protoreflect.Message

func (*Voice) Reset

func (x *Voice) Reset()

func (*Voice) String

func (x *Voice) String() string

type WebAppData

type WebAppData struct {
	// contains filtered or unexported fields
}

func (*WebAppData) Descriptor deprecated

func (*WebAppData) Descriptor() ([]byte, []int)

Deprecated: Use WebAppData.ProtoReflect.Descriptor instead.

func (*WebAppData) ProtoMessage

func (*WebAppData) ProtoMessage()

func (*WebAppData) ProtoReflect

func (x *WebAppData) ProtoReflect() protoreflect.Message

func (*WebAppData) Reset

func (x *WebAppData) Reset()

func (*WebAppData) String

func (x *WebAppData) String() string

type WebAppInfo added in v1.0.2

type WebAppInfo struct {
	Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	// contains filtered or unexported fields
}

https://core.telegram.org/bots/api#webappinfo

func (*WebAppInfo) Descriptor deprecated added in v1.0.2

func (*WebAppInfo) Descriptor() ([]byte, []int)

Deprecated: Use WebAppInfo.ProtoReflect.Descriptor instead.

func (*WebAppInfo) GetUrl added in v1.0.2

func (x *WebAppInfo) GetUrl() string

func (*WebAppInfo) ProtoMessage added in v1.0.2

func (*WebAppInfo) ProtoMessage()

func (*WebAppInfo) ProtoReflect added in v1.0.2

func (x *WebAppInfo) ProtoReflect() protoreflect.Message

func (*WebAppInfo) Reset added in v1.0.2

func (x *WebAppInfo) Reset()

func (*WebAppInfo) String added in v1.0.2

func (x *WebAppInfo) String() string

type WriteAccessAllowed

type WriteAccessAllowed struct {
	// contains filtered or unexported fields
}

func (*WriteAccessAllowed) Descriptor deprecated

func (*WriteAccessAllowed) Descriptor() ([]byte, []int)

Deprecated: Use WriteAccessAllowed.ProtoReflect.Descriptor instead.

func (*WriteAccessAllowed) ProtoMessage

func (*WriteAccessAllowed) ProtoMessage()

func (*WriteAccessAllowed) ProtoReflect

func (x *WriteAccessAllowed) ProtoReflect() protoreflect.Message

func (*WriteAccessAllowed) Reset

func (x *WriteAccessAllowed) Reset()

func (*WriteAccessAllowed) String

func (x *WriteAccessAllowed) String() string

Jump to

Keyboard shortcuts

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