Contents Menu Expand Light mode Dark mode Auto light/dark mode
PTB has undergone significant changes in v20. Please read the documentation carefully and also check out the transition guide in the wiki.
python-telegram-bot
v20.0a0
Logo
python-telegram-bot
v20.0a0

Reference

  • telegram package
    • telegram.Animation
    • telegram.Audio
    • telegram.Bot
    • telegram.BotCommand
    • telegram.BotCommandScope
    • telegram.BotCommandScopeDefault
    • telegram.BotCommandScopeAllPrivateChats
    • telegram.BotCommandScopeAllGroupChats
    • telegram.BotCommandScopeAllChatAdministrators
    • telegram.BotCommandScopeChat
    • telegram.BotCommandScopeChatAdministrators
    • telegram.BotCommandScopeChatMember
    • telegram.CallbackQuery
    • telegram.Chat
    • telegram.ChatAdministratorRights
    • telegram.ChatInviteLink
    • telegram.ChatJoinRequest
    • telegram.ChatLocation
    • telegram.ChatMember
    • telegram.ChatMemberOwner
    • telegram.ChatMemberAdministrator
    • telegram.ChatMemberMember
    • telegram.ChatMemberRestricted
    • telegram.ChatMemberLeft
    • telegram.ChatMemberBanned
    • telegram.ChatMemberUpdated
    • telegram.ChatPermissions
    • telegram.ChatPhoto
    • telegram.Contact
    • telegram.Dice
    • telegram.Document
    • telegram.File
    • telegram.ForceReply
    • telegram.InlineKeyboardButton
    • telegram.InlineKeyboardMarkup
    • telegram.InputFile
    • telegram.InputMedia
    • telegram.InputMediaAnimation
    • telegram.InputMediaAudio
    • telegram.InputMediaDocument
    • telegram.InputMediaPhoto
    • telegram.InputMediaVideo
    • telegram.KeyboardButton
    • telegram.KeyboardButtonPollType
    • telegram.Location
    • telegram.LoginUrl
    • telegram.MenuButton
    • telegram.MenuButtonCommands
    • telegram.MenuButtonDefault
    • telegram.MenuButtonWebApp
    • telegram.Message
    • telegram.MessageAutoDeleteTimerChanged
    • telegram.MessageId
    • telegram.MessageEntity
    • telegram.PhotoSize
    • telegram.Poll
    • telegram.PollAnswer
    • telegram.PollOption
    • telegram.ProximityAlertTriggered
    • telegram.ReplyKeyboardRemove
    • telegram.ReplyKeyboardMarkup
    • telegram.SentWebAppMessage
    • telegram.TelegramObject
    • telegram.Update
    • telegram.User
    • telegram.UserProfilePhotos
    • telegram.Venue
    • telegram.Video
    • telegram.VideoChatEnded
    • telegram.VideoChatParticipantsInvited
    • telegram.VideoChatScheduled
    • telegram.VideoChatStarted
    • telegram.VideoNote
    • telegram.Voice
    • telegram.WebAppData
    • telegram.WebAppInfo
    • telegram.WebhookInfo
    • telegram.Sticker
    • telegram.StickerSet
    • telegram.MaskPosition
    • telegram.InlineQuery
    • telegram.InlineQueryResult
    • telegram.InlineQueryResultArticle
    • telegram.InlineQueryResultAudio
    • telegram.InlineQueryResultCachedAudio
    • telegram.InlineQueryResultCachedDocument
    • telegram.InlineQueryResultCachedGif
    • telegram.InlineQueryResultCachedMpeg4Gif
    • telegram.InlineQueryResultCachedPhoto
    • telegram.InlineQueryResultCachedSticker
    • telegram.InlineQueryResultCachedVideo
    • telegram.InlineQueryResultCachedVoice
    • telegram.InlineQueryResultContact
    • telegram.InlineQueryResultDocument
    • telegram.InlineQueryResultGame
    • telegram.InlineQueryResultGif
    • telegram.InlineQueryResultLocation
    • telegram.InlineQueryResultMpeg4Gif
    • telegram.InlineQueryResultPhoto
    • telegram.InlineQueryResultVenue
    • telegram.InlineQueryResultVideo
    • telegram.InlineQueryResultVoice
    • telegram.InputMessageContent
    • telegram.InputTextMessageContent
    • telegram.InputLocationMessageContent
    • telegram.InputVenueMessageContent
    • telegram.InputContactMessageContent
    • telegram.InputInvoiceMessageContent
    • telegram.ChosenInlineResult
    • telegram.LabeledPrice
    • telegram.Invoice
    • telegram.ShippingAddress
    • telegram.OrderInfo
    • telegram.ShippingOption
    • telegram.SuccessfulPayment
    • telegram.ShippingQuery
    • telegram.PreCheckoutQuery
    • telegram.Game
    • telegram.Callbackgame
    • telegram.GameHighScore
    • telegram.PassportElementError
    • telegram.PassportElementErrorFile
    • telegram.PassportElementErrorFiles
    • telegram.PassportElementErrorReverseSide
    • telegram.PassportElementErrorFrontSide
    • telegram.PassportElementErrorDataField
    • telegram.PassportElementErrorSelfie
    • telegram.PassportElementErrorTranslationFile
    • telegram.PassportElementErrorTranslationFiles
    • telegram.PassportElementErrorUnspecified
    • telegram.Credentials
    • telegram.DataCredentials
    • telegram.SecureData
    • telegram.SecureValue
    • telegram.FileCredentials
    • telegram.IdDocumentData
    • telegram.PersonalDetails
    • telegram.ResidentialAddress
    • telegram.PassportData
    • telegram.PassportFile
    • telegram.EncryptedPassportElement
    • telegram.EncryptedCredentials
  • telegram.ext package
    • telegram.ext.ExtBot
    • telegram.ext.ApplicationBuilder
    • telegram.ext.Application
    • telegram.ext.ApplicationHandlerStop
    • telegram.ext.Updater
    • telegram.ext.CallbackContext
    • telegram.ext.Job
    • telegram.ext.JobQueue
    • telegram.ext.ContextTypes
    • telegram.ext.Defaults
    • telegram.ext.Handler
    • telegram.ext.CallbackQueryHandler
    • telegram.ext.ChatJoinRequestHandler
    • telegram.ext.ChatMemberHandler
    • telegram.ext.ChosenInlineResultHandler
    • telegram.ext.CommandHandler
    • telegram.ext.ConversationHandler
    • telegram.ext.InlineQueryHandler
    • telegram.ext.MessageHandler
    • telegram.ext.filters Module
    • telegram.ext.PollAnswerHandler
    • telegram.ext.PollHandler
    • telegram.ext.PreCheckoutQueryHandler
    • telegram.ext.PrefixHandler
    • telegram.ext.ShippingQueryHandler
    • telegram.ext.StringCommandHandler
    • telegram.ext.StringRegexHandler
    • telegram.ext.TypeHandler
    • telegram.ext.BasePersistence
    • telegram.ext.PersistenceInput
    • telegram.ext.PicklePersistence
    • telegram.ext.DictPersistence
    • telegram.ext.CallbackDataCache
    • telegram.ext.InvalidCallbackData
  • Auxiliary modules
    • telegram.constants Module
    • telegram.error Module
    • telegram.helpers Module
    • telegram.request Module
      • telegram.request.BaseRequest
      • telegram.request.RequestData
      • telegram.request.HTTPXRequest
    • telegram.warnings Module
  • Telegrams Bot API Docs

Project

  • Changelog
  • Website
  • GitHub Repository
  • Telegram Channel
  • Telegram User Group
  • How To Contribute
  • Contributor Covenant Code of Conduct
Back to top
Edit this page

telegram.InputMessageContent#

class telegram.InputMessageContent(*args, **kwargs)[source]#

Bases: telegram.TelegramObject

Base class for Telegram InputMessageContent Objects.

See: telegram.InputContactMessageContent, telegram.InputInvoiceMessageContent, telegram.InputLocationMessageContent, telegram.InputTextMessageContent and telegram.InputVenueMessageContent for more details.

Next
telegram.InputTextMessageContent
Previous
telegram.InlineQueryResultVoice
Copyright © 2015-2021, Leandro Toledo
Made with Sphinx and @pradyunsg's Furo