Skip to content

Missing methods and objects/types from the bot API #50

@alissonlauffer

Description

@alissonlauffer

This issue tracks the missing methods and objects compared to the bot API, and their differences from it.

❌ Unimplemented features

Methods

  • close
  • forward_message
  • copy_messages
  • send_paid_media
  • send_checklist
  • set_message_reaction
  • get_user_profile_photos
  • set_user_emoji_status
  • set_chat_administrator_custom_title
  • ban_chat_sender_chat
  • unban_chat_sender_chat
  • create_chat_subscription_invite_link
  • edit_chat_subscription_invite_link
  • get_chat_administrators
  • get_chat_member_count
  • set_chat_sticker_set
  • delete_chat_sticker_set
  • get_forum_topic_icon_stickers
  • unpin_all_forum_topic_messages
  • edit_general_forum_topic
  • close_general_forum_topic
  • reopen_general_forum_topic
  • hide_general_forum_topic
  • unhide_general_forum_topic
  • unpin_all_general_forum_topic_messages
  • get_user_chat_boosts
  • get_business_connection
  • set_my_commands
  • delete_my_commands
  • get_my_commands
  • set_my_name
  • get_my_name
  • set_my_description
  • get_my_description
  • set_my_short_description
  • get_my_short_description
  • set_my_default_administrator_rights
  • get_my_default_administrator_rights
  • get_available_gifts
  • send_gift
  • gift_premium_subscription
  • verify_user
  • verify_chat
  • remove_user_verification
  • remove_chat_verification
  • read_business_message
  • delete_business_messages
  • set_business_account_name
  • set_business_account_username
  • set_business_account_bio
  • set_business_account_profile_photo
  • remove_business_account_profile_photo
  • set_business_account_gift_settings
  • get_business_account_star_balance
  • transfer_business_account_stars
  • get_business_account_gifts
  • convert_gift_to_stars
  • upgrade_gift
  • transfer_gift
  • post_story
  • edit_story
  • delete_story
  • edit_message_live_location
  • stop_message_live_location
  • edit_message_checklist
  • approve_suggested_post
  • decline_suggested_post
  • delete_message
  • get_sticker_set
  • upload_sticker_file
  • create_new_sticker_set
  • add_sticker_to_set
  • set_sticker_position_in_set
  • delete_sticker_from_set
  • replace_sticker_in_set
  • set_sticker_emoji_list
  • set_sticker_keywords
  • set_sticker_mask_position
  • set_sticker_set_title
  • set_sticker_set_thumbnail
  • set_custom_emoji_sticker_set_thumbnail
  • delete_sticker_set
  • save_prepared_inline_message
  • send_invoice
  • create_invoice_link
  • answer_shipping_query
  • answer_pre_checkout_query
  • get_my_star_balance
  • get_star_transactions
  • refund_star_payment
  • edit_user_star_subscription
  • set_passport_data_errors

Objects

  • ChatFullInfo
  • MessageId
  • InaccessibleMessage
  • MaybeInaccessibleMessage
  • TextQuote
  • ExternalReplyInfo
  • ReplyParameters
  • MessageOrigin
  • MessageOriginUser
  • MessageOriginHiddenUser
  • MessageOriginChat
  • MessageOriginChannel
  • PhotoSize
  • Story
  • PaidMediaInfo
  • PaidMedia
  • PaidMediaPreview
  • PaidMediaPhoto
  • PaidMediaVideo
  • PollAnswer
  • ChecklistTask
  • Checklist
  • InputChecklistTask
  • InputChecklist
  • ChecklistTasksDone
  • ChecklistTasksAdded
  • ProximityAlertTriggered
  • MessageAutoDeleteTimerChanged
  • ChatBoostAdded
  • BackgroundFill
  • BackgroundFillSolid
  • BackgroundFillGradient
  • BackgroundFillFreeformGradient
  • BackgroundType
  • BackgroundTypeFill
  • BackgroundTypeWallpaper
  • BackgroundTypePattern
  • BackgroundTypeChatTheme
  • GeneralForumTopicHidden
  • GeneralForumTopicUnhidden
  • SharedUser
  • UsersShared
  • ChatShared
  • WriteAccessAllowed
  • VideoChatParticipantsInvited
  • PaidMessagePriceChanged
  • DirectMessagePriceChanged
  • SuggestedPostApproved
  • SuggestedPostApprovalFailed
  • SuggestedPostDeclined
  • SuggestedPostPaid
  • SuggestedPostRefunded
  • GiveawayCreated
  • Giveaway
  • GiveawayWinners
  • GiveawayCompleted
  • LinkPreviewOptions
  • SuggestedPostPrice
  • SuggestedPostInfo
  • SuggestedPostParameters
  • DirectMessagesTopic
  • UserProfilePhotos
  • File
  • KeyboardButtonRequestUsers
  • KeyboardButtonRequestChat
  • KeyboardButtonPollType
  • SwitchInlineQueryChosenChat
  • CopyTextButton
  • ChatAdministratorRights
  • ChatMemberOwner
  • ChatMemberAdministrator
  • ChatMemberMember
  • ChatMemberRestricted
  • ChatMemberLeft
  • ChatMemberBanned
  • Birthdate
  • BusinessIntro
  • BusinessLocation
  • BusinessOpeningHoursInterval
  • BusinessOpeningHours
  • StoryAreaPosition
  • LocationAddress
  • StoryAreaType
  • StoryAreaTypeLocation
  • StoryAreaTypeSuggestedReaction
  • StoryAreaTypeLink
  • StoryAreaTypeWeather
  • StoryAreaTypeUniqueGift
  • StoryArea
  • ChatLocation
  • ReactionType
  • ReactionTypeEmoji
  • ReactionTypeCustomEmoji
  • ReactionTypePaid
  • ReactionCount
  • MessageReactionUpdated
  • MessageReactionCountUpdated
  • Gift
  • Gifts
  • UniqueGiftModel
  • UniqueGiftSymbol
  • UniqueGiftBackdropColors
  • UniqueGiftBackdrop
  • UniqueGift
  • GiftInfo
  • UniqueGiftInfo
  • OwnedGift
  • OwnedGiftRegular
  • OwnedGiftUnique
  • OwnedGifts
  • AcceptedGiftTypes
  • StarAmount
  • BotName
  • BotDescription
  • BotShortDescription
  • ChatBoostSource
  • ChatBoostSourcePremium
  • ChatBoostSourceGiftCode
  • ChatBoostSourceGiveaway
  • ChatBoost
  • ChatBoostUpdated
  • ChatBoostRemoved
  • UserChatBoosts
  • BusinessBotRights
  • BusinessConnection
  • BusinessMessagesDeleted
  • ResponseParameters
  • InputFile
  • InputPaidMedia
  • InputPaidMediaPhoto
  • InputPaidMediaVideo
  • InputProfilePhoto
  • InputProfilePhotoStatic
  • InputProfilePhotoAnimated
  • InputStoryContent
  • InputStoryContentPhoto
  • InputStoryContentVideo
  • StickerSet
  • MaskPosition
  • InputSticker
  • InlineQueryResultsButton
  • InlineQueryResultGif
  • InlineQueryResultMpeg4Gif
  • InlineQueryResultGame
  • InlineQueryResultCachedGif
  • InlineQueryResultCachedMpeg4Gif
  • InputLocationMessageContent
  • InputVenueMessageContent
  • InputContactMessageContent
  • InputInvoiceMessageContent
  • PreparedInlineMessage
  • LabeledPrice
  • Invoice
  • ShippingAddress
  • OrderInfo
  • ShippingOption
  • SuccessfulPayment
  • RefundedPayment
  • ShippingQuery
  • PreCheckoutQuery
  • PaidMediaPurchased
  • RevenueWithdrawalState
  • RevenueWithdrawalStatePending
  • RevenueWithdrawalStateSucceeded
  • RevenueWithdrawalStateFailed
  • AffiliateInfo
  • TransactionPartner
  • TransactionPartnerUser
  • TransactionPartnerChat
  • TransactionPartnerAffiliateProgram
  • TransactionPartnerFragment
  • TransactionPartnerTelegramAds
  • TransactionPartnerTelegramApi
  • TransactionPartnerOther
  • StarTransaction
  • StarTransactions
  • PassportData
  • PassportFile
  • EncryptedPassportElement
  • EncryptedCredentials
  • PassportElementError
  • PassportElementErrorDataField
  • PassportElementErrorFrontSide
  • PassportElementErrorReverseSide
  • PassportElementErrorSelfie
  • PassportElementErrorFile
  • PassportElementErrorFiles
  • PassportElementErrorTranslationFile
  • PassportElementErrorTranslationFiles
  • PassportElementErrorUnspecified

🚧 Partially implemented features

Methods

send_message (8/15):

  • business_connection_id
  • direct_messages_topic_id
  • link_preview_options
  • allow_paid_broadcast
  • message_effect_id
  • suggested_post_parameters
  • reply_parameters

forward_messages (6/7):

  • direct_messages_topic_id

copy_message (11/16):

  • direct_messages_topic_id
  • video_start_timestamp
  • allow_paid_broadcast
  • suggested_post_parameters
  • reply_parameters

send_photo (11/17):

  • business_connection_id
  • direct_messages_topic_id
  • allow_paid_broadcast
  • message_effect_id
  • suggested_post_parameters
  • reply_parameters

send_audio (13/19):

  • business_connection_id
  • direct_messages_topic_id
  • allow_paid_broadcast
  • message_effect_id
  • suggested_post_parameters
  • reply_parameters

send_document (10/17):

  • business_connection_id
  • direct_messages_topic_id
  • disable_content_type_detection
  • allow_paid_broadcast
  • message_effect_id
  • suggested_post_parameters
  • reply_parameters

send_video (16/24):

  • business_connection_id
  • direct_messages_topic_id
  • cover
  • start_timestamp
  • allow_paid_broadcast
  • message_effect_id
  • suggested_post_parameters
  • reply_parameters

send_animation (15/21):

  • business_connection_id
  • direct_messages_topic_id
  • allow_paid_broadcast
  • message_effect_id
  • suggested_post_parameters
  • reply_parameters

send_voice (10/16):

  • business_connection_id
  • direct_messages_topic_id
  • allow_paid_broadcast
  • message_effect_id
  • suggested_post_parameters
  • reply_parameters

send_video_note (9/15):

  • business_connection_id
  • direct_messages_topic_id
  • allow_paid_broadcast
  • message_effect_id
  • suggested_post_parameters
  • reply_parameters

send_media_group (5/10):

  • business_connection_id
  • direct_messages_topic_id
  • allow_paid_broadcast
  • message_effect_id
  • reply_parameters

send_location (8/17):

  • business_connection_id
  • direct_messages_topic_id
  • live_period
  • heading
  • proximity_alert_radius
  • allow_paid_broadcast
  • message_effect_id
  • suggested_post_parameters
  • reply_parameters

send_venue (11/19):

  • business_connection_id
  • direct_messages_topic_id
  • google_place_id
  • google_place_type
  • allow_paid_broadcast
  • message_effect_id
  • suggested_post_parameters
  • reply_parameters

send_contact (9/15):

  • business_connection_id
  • direct_messages_topic_id
  • allow_paid_broadcast
  • message_effect_id
  • suggested_post_parameters
  • reply_parameters

send_poll (19/23):

  • business_connection_id
  • allow_paid_broadcast
  • message_effect_id
  • reply_parameters

send_dice (6/12):

  • business_connection_id
  • direct_messages_topic_id
  • allow_paid_broadcast
  • message_effect_id
  • suggested_post_parameters
  • reply_parameters

send_chat_action (3/4):

  • business_connection_id

ban_chat_member (3/4):

  • revoke_messages

unban_chat_member (2/3):

  • only_if_banned

restrict_chat_member (4/5):

  • use_independent_chat_permissions

promote_chat_member (2/18):

  • is_anonymous
  • can_manage_chat
  • can_delete_messages
  • can_manage_video_chats
  • can_restrict_members
  • can_promote_members
  • can_change_info
  • can_invite_users
  • can_post_stories
  • can_edit_stories
  • can_delete_stories
  • can_post_messages
  • can_edit_messages
  • can_pin_messages
  • can_manage_topics
  • can_manage_direct_messages

set_chat_permissions (2/3):

  • use_independent_chat_permissions

pin_chat_message (3/4):

  • business_connection_id

unpin_chat_message (2/3):

  • business_connection_id

create_forum_topic (2/4):

  • name
  • icon_custom_emoji_id

edit_forum_topic (1/4):

  • message_thread_id
  • name
  • icon_custom_emoji_id

close_forum_topic (1/2):

  • message_thread_id

reopen_forum_topic (1/2):

  • message_thread_id

delete_forum_topic (1/2):

  • message_thread_id

edit_message_text (6/9):

  • business_connection_id
  • inline_message_id
  • link_preview_options

edit_message_caption (6/9):

  • business_connection_id
  • inline_message_id
  • show_caption_above_media

edit_message_media (4/6):

  • business_connection_id
  • inline_message_id

edit_message_reply_markup (3/5):

  • business_connection_id
  • inline_message_id

stop_poll (3/4):

  • business_connection_id

send_sticker (6/13):

  • business_connection_id
  • direct_messages_topic_id
  • emoji
  • allow_paid_broadcast
  • message_effect_id
  • suggested_post_parameters
  • reply_parameters

answer_inline_query (5/6):

  • button

send_game (6/10):

  • business_connection_id
  • allow_paid_broadcast
  • message_effect_id
  • reply_parameters

set_game_score (6/7):

  • inline_message_id

get_game_high_scores (3/4):

  • inline_message_id

Objects

User (7/13):

  • added_to_attachment_menu
  • can_join_groups
  • can_read_all_group_messages
  • supports_inline_queries
  • can_connect_to_business
  • has_main_web_app

Chat (7/8):

  • is_direct_messages

Message (53/102):

  • direct_messages_topic
  • sender_boost_count
  • sender_business_bot
  • business_connection_id
  • forward_origin
  • is_automatic_forward
  • external_reply
  • quote
  • reply_to_story
  • reply_to_checklist_task_id
  • is_from_offline
  • is_paid_post
  • paid_star_count
  • link_preview_options
  • suggested_post_info
  • effect_id
  • paid_media
  • story
  • checklist
  • message_auto_delete_timer_changed
  • invoice
  • successful_payment
  • refunded_payment
  • users_shared
  • chat_shared
  • gift
  • unique_gift
  • connected_website
  • write_access_allowed
  • passport_data
  • proximity_alert_triggered
  • boost_added
  • chat_background_set
  • checklist_tasks_done
  • checklist_tasks_added
  • direct_message_price_changed
  • general_forum_topic_hidden
  • general_forum_topic_unhidden
  • giveaway_created
  • giveaway
  • giveaway_winners
  • giveaway_completed
  • paid_message_price_changed
  • suggested_post_approved
  • suggested_post_approval_failed
  • suggested_post_declined
  • suggested_post_paid
  • suggested_post_refunded
  • video_chat_participants_invited

Animation (8/9):

  • thumbnail

Audio (8/9):

  • thumbnail

Document (5/6):

  • thumbnail

Video (8/11):

  • thumbnail
  • cover
  • start_timestamp

VideoNote (5/6):

  • thumbnail

PollOption (2/3):

  • text_entities

Poll (13/14):

  • question_entities

Location (3/6):

  • live_period
  • heading
  • proximity_alert_radius

Venue (5/7):

  • google_place_id
  • google_place_type

ForumTopicCreated (1/3):

  • name
  • icon_custom_emoji_id

ForumTopicEdited (0/2):

  • name
  • icon_custom_emoji_id

ReplyKeyboardMarkup (5/6):

  • input_field_placeholder

KeyboardButton (4/7):

  • request_users
  • request_chat
  • request_poll

ReplyKeyboardRemove (1/2):

  • remove_keyboard

InlineKeyboardButton (8/11):

  • switch_inline_query_chosen_chat
  • copy_text
  • pay

ForceReply (1/3):

  • force_reply
  • input_field_placeholder

ChatPhoto (2/4):

  • small_file_unique_id
  • big_file_unique_id

ChatInviteLink (9/11):

  • subscription_period
  • subscription_price

ChatMemberUpdated (6/8):

  • via_join_request
  • via_chat_folder_invite_link

ChatJoinRequest (5/6):

  • user_chat_id

ChatPermissions (8/14):

  • can_send_audios
  • can_send_documents
  • can_send_photos
  • can_send_videos
  • can_send_video_notes
  • can_send_voice_notes

ForumTopic (1/4):

  • message_thread_id
  • name
  • icon_custom_emoji_id

InputMediaVideo (12/14):

  • cover
  • start_timestamp

InputMediaDocument (6/7):

  • disable_content_type_detection

Sticker (10/15):

  • thumbnail
  • premium_animation
  • mask_position
  • custom_emoji_id
  • needs_repainting

InputTextMessageContent (3/4):

  • link_preview_options

Game (4/6):

  • text
  • text_entities

At least partially implemented methods: 66/158 (42%)
At least partially implemented objects: 88/278 (32%)

Fully implemented methods: 27/158 (17%)
Fully implemented objects: 58/278 (21%)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature, request or code enhancement.good first issueGood for newcomershelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions