package
0.0.0-20211001150752-6a32b385ebd3
Repository: https://github.com/s-larionov/telegram-api.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
bold text.
/start@jobs_bot.
$USD.
monowidth string.
#hashtag.
italic text.
@username.
+1-212-555-0123.
monowidth string.
strikethrough text.
for clickable text URLs.
for users without usernames.
underline text.
https://telegram.org.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
UpdateTypeCallbackQuery New incoming callback query.
UpdateTypeChannelPost New incoming channel post of any kind — text, photo, sticker, etc.
UpdateTypeChosenInlineResult The result of an inline query that was chosen by a user and sent to their chat partner.
UpdateTypeEditedChannelPost New version of a channel post that is known to the bot and was edited.
UpdateTypeEditedMessage New version of a message that is known to the bot and was edited.
UpdateTypeInlineQuery New incoming inline query.
UpdateTypeMessage New incoming message of any kind — text, photo, sticker, etc.
UpdateTypePoll New poll state.
UpdateTypePollAnswer A user changed their answer in a non-anonymous poll.
UpdateTypePreCheckoutQuery New incoming pre-checkout query.
UpdateTypeShippingQuery New incoming shipping query.

# Structs

AddStickerToSetSetRequest Use this entity to add a new sticker to a set created by the bot.
Animation This object represents an animation file (GIF or H.264/MPEG-4 AVC video without sound).
AnimationMessageRequest Use this entity to send animation files (GIF or H.264/MPEG-4 AVC video without sound).
AnswerCallbackQuery Use this entity to send answers to callback queries sent from inline keyboards.
AnswerInlineQuery Use this method to send answers to an inline query.
Audio This object represents an audio file to be treated as music by the Telegram clients.
AudioMessageRequest Use this entity to send audio files, if you want Telegram clients to display them in the music player.
BotCommand This object represents a bot command.
CallbackQuery This object represents an incoming callback query from a callback button in an inline keyboard.
Chat This object represents a chat.
ChatMember This object contains information about one member of a chat.
ChatMemberPromotionRequest Use this entity to promote or demote a user in a supergroup or a channel.
ChatMemberRestrictionsRequest Use this entity to restrict a user in a supergroup.
ChatPermissions Describes actions that a non-administrator user is allowed to take in a chat.
ChatPhoto This object represents a chat photo.
ChatSetPhotoRequest Use this entity to set a new profile photo for the chat.
ChosenInlineResult Represents a result of an inline query that was chosen by the user and sent to their chat partner.
Contact This object represents a phone contact.
ContactMessageRequest Use this entity to send phone contacts.
DiceMessageRequest Use this entity to send a dice, which will have a random value from 1 to 6.
Document This object represents a general file (as opposed to photos, voice messages and audio files).
DocumentMessageRequest Use this entity to send general files.
EditMessageCaptionRequest Use this entity to edit text and game messages.
EditMessageLiveLocation Use this entity to edit live location messages.
EditMessageMediaRequest Use this entity to edit animation, audio, document, photo, or video messages.
EditMessageReplyMarkupRequest Use this entity to edit only the reply markup of messages.
No description provided by the author
EditMessageTextRequest Use this entity to edit text and game messages.
File This object represents a file ready to be downloaded.
ForceReply Upon receiving a message with this object, Telegram clients will display a reply interface to the user (act as if the user has selected the bot‘s message and tapped ’Reply').
ForwardMessageRequest Use this entity to forward messages of any kind.
No description provided by the author
InlineKeyboardMarkup This object represents an inline keyboard that appears right next to the message it belongs to.
InlineQuery This object represents an incoming inline query.
No description provided by the author
InlineQueryResultArticle Represents a link to an article or web page.
InlineQueryResultAudio Represents a link to an MP3 audio file.
InlineQueryResultContact Represents a contact with a phone number.
InlineQueryResultDocument Represents a link to a file.
InlineQueryResultGame Represents a Game.
InlineQueryResultGif Represents a link to an animated GIF file.
InlineQueryResultLocation Represents a location on a map.
InlineQueryResultMpeg4Gif Represents a link to a video animation (H.264/MPEG-4 AVC video without sound).
InlineQueryResultPhoto Represents a link to a ph oto.
InlineQueryResultSticker Represents a link to a sticker stored on the Telegram servers.
InlineQueryResultVenue Represents a venue.
InlineQueryResultVideo Represents a link to a page containing an embedded video player or a video file.
InlineQueryResultVoice Represents a link to a voice recording in an .OGG container encoded with OPUS.
InputContactMessageContent Represents the content of a contact message to be sent as the result of an inline query.
InputLocationMessageContent Represents the content of a location message to be sent as the result of an inline query.
InputMediaAnimation Represents an animation file (GIF or H.264/MPEG-4 AVC video without sound) to be sent.
InputMediaAudio Represents an audio file to be treated as music to be sent.
InputMediaDocument Represents a general file to be sent.
InputMediaPhoto Represents a photo to be sent.
InputMediaVideo Represents a video to be sent.
No description provided by the author
InputTextMessageContent Represents the content of a text message to be sent as the result of an inline query.
InputVenueMessageContent Represents the content of a venue message to be sent as the result of an inline query.
KeyboardButton This object represents one button of the reply keyboard.
KeyboardButtonPollType This object represents type of a poll, which is allowed to be created and sent when the corresponding button is pressed.
Location This object represents a point on the map.
LocationMessageRequest Use this entity to send point on the map.
LoginURL This object represents a parameter of the inline keyboard button used to automatically authorize a user.
MaskPosition This object describes the position on faces where a mask should be placed by default.
MediaGroupMessageRequest Use this entity to send a group of photos or videos as an album.
Message This object represents a message.
MessageEntity This object represents one special entity in a text message.
MessageRequest Use this entity to send text messages.
MessageRequestBase Use this entity to send text messages.
NewStickerSetRequest Use this entity to create a new sticker set owned by a user.
OrderInfo This object represents information about an order.
PhotoMessageRequest Use this entity to send photos.
PhotoSize This object represents one size of a photo or a file / sticker thumbnail.
Poll This object contains information about a poll.
PollAnswer This object represents an answer of a user in a non-anonymous poll.
PollMessageRequest Use this entity to send a native poll.
PollOption This object contains information about one answer option in a poll.
PreCheckoutQuery This object contains information about an incoming pre-checkout query.
ReplyKeyboardMarkup This object represents a custom keyboard with reply options (see Introduction to bots for details and examples).
ReplyKeyboardRemove Upon receiving a message with this object, Telegram clients will remove the current custom keyboard and display the default letter-keyboard.
ResponseParameters Contains information about why a request was unsuccessful.
SendStickerRequest Use this entity to send static .WEBP or animated .TGS stickers.
ShippingAddress This object represents a shipping address.
ShippingQuery This object contains information about an incoming shipping query.
Sticker This object represents a sticker.
StickerSet This object represents a sticker set.
StickerSetThumbRequest Use this entity to set the thumbnail of a sticker set.
StopMessageLiveLocation Use this entity to edit live location messages.
StopPollRequest Use this entity to stop a poll which was sent by the bot.
Update This object represents an incoming update.
No description provided by the author
User This object represents a Telegram user or bot.
UserProfilePhotos This object represent a user's profile pictures.
UserProfilePhotosRequest Use this entity to get a list of profile pictures for a user.
Venue This object represents a venue.
VenueMessageRequest Use this entity to send information about a venue.
Video This object represents a video file.
VideoMessageRequest Use this entity to send video files.
VideoNote This object represents a video message (available in Telegram apps as of v.4.0).
VideoNoteMessageRequest As of v.4.0, Telegram clients support rounded square mp4 videos of up to 1 minute long.
Voice This object represents a voice note.
VoiceMessageRequest Use this method to send audio files, if you want Telegram clients to display the file as a playable voice message.
WebhookInfo Contains information about the current status of a webhook.
WebhookRequest Use this method to specify a url and receive incoming updates via an outgoing webhook.

# Interfaces

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author
ChatMemberStatus The member's status in the chat.
ChatType of chat, can be either “private”, “group”, “supergroup” or “channel”.
No description provided by the author
InputFile This object represents the contents of a file to be uploaded.
No description provided by the author
No description provided by the author
MaskPositionPoint The part of the face relative to which the mask should be placed.
MessageEntityType Type of the message entity.
No description provided by the author
PollType Poll type, currently can be “regular” or “quiz”.
No description provided by the author
No description provided by the author