Server path:Documentation Index
Fetch the complete documentation index at: https://docs.pinkfish.ai/llms.txt
Use this file to discover all available pages before exploring further.
/telegram-content | Type: Application | PCID required: Yes
Tools
telegram_content_add_sticker_to_set
DescribesaddStickerToSet method
Parameters:
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
name | string | Yes | — | Sticker set name |
sticker | object | Yes | — | This object describes a sticker to be added to a sticker set. |
user_id | integer | Yes | — | User identifier of sticker set owner |
telegram_content_answer_inline_query
DescribesanswerInlineQuery method
Parameters:
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
button | object | No | — | This object represents a button to be shown above inline query results. You must use exactly one of the optional fields. |
cache_time | integer | No | — | The maximum amount of time in seconds that the result of the inline query may be cached on the server. Defaults to 300. |
inline_query_id | string | Yes | — | Unique identifier for the answered query |
is_personal | boolean | No | — | Pass True if results may be cached on the server side only for the user that sent the query. By default, results may be returned to any user who sends the same query. |
next_offset | string | No | — | Pass the offset that a client should send in the next query with the same text to receive more results. Pass an empty string if there are no more results or if you don’t support pagination. Offset length can’t exceed 64 bytes. |
results | object[] | Yes | — | A JSON-serialized array of results for the inline query |
telegram_content_answer_pre_checkout_query
DescribesanswerPreCheckoutQuery method
Parameters:
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
error_message | string | No | — | Required if ok is False. Error message in human readable form that explains the reason for failure to proceed with the checkout (e.g. “Sorry, somebody just bought the last of our amazing black T-shirts while you were busy filling out your payment details. Please choose a different color or garment!”). Telegram will display this message to the user. |
ok | boolean | Yes | — | Specify True if everything is alright (goods are available, etc.) and the bot is ready to proceed with the order. Use False if there are any problems. |
pre_checkout_query_id | string | Yes | — | Unique identifier for the query to be answered |
telegram_content_answer_shipping_query
DescribesanswerShippingQuery method
Parameters:
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
error_message | string | No | — | Required if ok is False. Error message in human readable form that explains why it is impossible to complete the order (e.g. “Sorry, delivery to your desired address is unavailable’). Telegram will display this message to the user. |
ok | boolean | Yes | — | Pass True if delivery to the specified address is possible and False if there are any problems (for example, if delivery to the specified address is not possible) |
shipping_options | object[] | No | — | Required if ok is True. A JSON-serialized array of available shipping options. |
shipping_query_id | string | Yes | — | Unique identifier for the query to be answered |
telegram_content_answer_web_app_query
DescribesanswerWebAppQuery method
Parameters:
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
result | object | Yes | — | This object represents one result of an inline query. Telegram clients currently support results of the following 20 types: - InlineQueryResultCachedAudio - InlineQueryResultCachedDocument - InlineQueryResultCachedGif - InlineQueryResultCachedMpeg4Gif - InlineQueryResultCachedPhoto - InlineQueryResultCachedSticker - InlineQueryResultCachedVideo - InlineQueryResultCachedVoice - InlineQueryResultArticle - InlineQueryResultAudio - InlineQueryResultContact - InlineQueryResultGame - InlineQueryResultDocument - InlineQueryResultGif - InlineQueryResultLocation - InlineQueryResultMpeg4Gif - InlineQueryResultPhoto - InlineQueryResultVenue - InlineQueryResultVideo - InlineQueryResultVoice Note: All URLs passed in inline query results will be available to end users and therefore must be assumed to be public. |
web_app_query_id | string | Yes | — | Unique identifier for the query to be answered |
telegram_content_create_invoice_link
DescribescreateInvoiceLink method
Parameters:
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
currency | string | Yes | — | Three-letter ISO 4217 currency code, see more on currencies. Pass “XTR” for payments in Telegram Stars. |
description | string | Yes | — | Product description, 1-255 characters |
is_flexible | boolean | No | — | Pass True if the final price depends on the shipping method. Ignored for payments in Telegram Stars. |
max_tip_amount | integer | No | — | The maximum accepted amount for tips in the smallest units of the currency (integer, not float/double). For example, for a maximum tip of US$ 1.45 pass max_tip_amount = 145. See the exp parameter in currencies.json, it shows the number of digits past the decimal point for each currency (2 for the majority of currencies). Defaults to 0. Not supported for payments in Telegram Stars. |
need_email | boolean | No | — | Pass True if you require the user’s email address to complete the order. Ignored for payments in Telegram Stars. |
need_name | boolean | No | — | Pass True if you require the user’s full name to complete the order. Ignored for payments in Telegram Stars. |
need_phone_number | boolean | No | — | Pass True if you require the user’s phone number to complete the order. Ignored for payments in Telegram Stars. |
need_shipping_address | boolean | No | — | Pass True if you require the user’s shipping address to complete the order. Ignored for payments in Telegram Stars. |
payload | string | Yes | — | Bot-defined invoice payload, 1-128 bytes. This will not be displayed to the user, use for your internal processes. |
photo_height | integer | No | — | Photo height |
photo_size | integer | No | — | Photo size in bytes |
photo_url | string | No | — | URL of the product photo for the invoice. Can be a photo of the goods or a marketing image for a service. |
photo_width | integer | No | — | Photo width |
prices | object[] | Yes | — | Price breakdown, a JSON-serialized list of components (e.g. product price, tax, discount, delivery cost, delivery tax, bonus, etc.). Must contain exactly one item for payments in Telegram Stars. |
provider_data | string | No | — | JSON-serialized data about the invoice, which will be shared with the payment provider. A detailed description of required fields should be provided by the payment provider. |
provider_token | string | No | — | Payment provider token, obtained via @BotFather. Pass an empty string for payments in Telegram Stars. |
send_email_to_provider | boolean | No | — | Pass True if the user’s email address should be sent to the provider. Ignored for payments in Telegram Stars. |
send_phone_number_to_provider | boolean | No | — | Pass True if the user’s phone number should be sent to the provider. Ignored for payments in Telegram Stars. |
suggested_tip_amounts | integer[] | No | — | A JSON-serialized array of suggested amounts of tips in the smallest units of the currency (integer, not float/double). At most 4 suggested tip amounts can be specified. The suggested tip amounts must be positive, passed in a strictly increased order and must not exceed max_tip_amount. |
title | string | Yes | — | Product name, 1-32 characters |
telegram_content_create_new_sticker_set
DescribescreateNewStickerSet method
Parameters:
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
name | string | Yes | — | Short name of sticker set, to be used in t.me/addstickers/ URLs (e.g., animals). Can contain only English letters, digits and underscores. Must begin with a letter, can’t contain consecutive underscores and must end in “by<bot_username>”. <bot_username> is case insensitive. 1-64 characters. |
needs_repainting | boolean | No | — | Pass True if stickers in the sticker set must be repainted to the color of text when used in messages, the accent color if used as emoji status, white on chat photos, or another appropriate color based on context; for custom emoji sticker sets only |
sticker_type | string | No | — | Type of stickers in the set, pass “regular”, “mask”, or “custom_emoji”. By default, a regular sticker set is created. |
stickers | object[] | Yes | — | A JSON-serialized list of 1-50 initial stickers to be added to the sticker set |
title | string | Yes | — | Sticker set title, 1-64 characters |
user_id | integer | Yes | — | User identifier of created sticker set owner |
telegram_content_delete_message
DescribesdeleteMessage method
Parameters:
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
chat_id | string | Yes | — | Unique identifier for the target chat or username of the target channel (in the format @channelusername) Pass as a numeric string (e.g., “-100123456789”) or @username. |
message_id | integer | Yes | — | Identifier of the message to delete |
telegram_content_delete_messages
DescribesdeleteMessages method
Parameters:
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
chat_id | string | Yes | — | Unique identifier for the target chat or username of the target channel (in the format @channelusername) Pass as a numeric string (e.g., “-100123456789”) or @username. |
message_ids | integer[] | Yes | — | A JSON-serialized list of 1-100 identifiers of messages to delete. See deleteMessage for limitations on which messages can be deleted |
telegram_content_delete_sticker_from_set
DescribesdeleteStickerFromSet method
Parameters:
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
sticker | string | Yes | — | File identifier of the sticker |
telegram_content_delete_sticker_set
DescribesdeleteStickerSet method
Parameters:
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
name | string | Yes | — | Sticker set name |
telegram_content_edit_message_caption
DescribeseditMessageCaption method
Parameters:
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
caption | string | No | — | New caption of the message, 0-1024 characters after entities parsing |
caption_entities | object[] | No | — | A JSON-serialized list of special entities that appear in the caption, which can be specified instead of parse_mode |
chat_id | string | No | — | Required if inline_message_id is not specified. Unique identifier for the target chat or username of the target channel (in the format @channelusername) Pass as a numeric string (e.g., “-100123456789”) or @username. |
inline_message_id | string | No | — | Required if chat_id and message_id are not specified. Identifier of the inline message |
message_id | integer | No | — | Required if inline_message_id is not specified. Identifier of the message to edit |
parse_mode | string | No | — | Mode for parsing entities in the message caption. See formatting options for more details. |
reply_markup | object | No | — | This object represents an inline keyboard that appears right next to the message it belongs to. |
show_caption_above_media | boolean | No | — | Pass True, if the caption must be shown above the message media. Supported only for animation, photo and video messages. |
telegram_content_edit_message_live_location
DescribeseditMessageLiveLocation method
Parameters:
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
chat_id | string | No | — | Required if inline_message_id is not specified. Unique identifier for the target chat or username of the target channel (in the format @channelusername) Pass as a numeric string (e.g., “-100123456789”) or @username. |
heading | integer | No | — | Direction in which the user is moving, in degrees. Must be between 1 and 360 if specified. |
horizontal_accuracy | number | No | — | The radius of uncertainty for the location, measured in meters; 0-1500 |
inline_message_id | string | No | — | Required if chat_id and message_id are not specified. Identifier of the inline message |
latitude | number | Yes | — | Latitude of new location |
live_period | integer | No | — | New period in seconds during which the location can be updated, starting from the message send date. If 0x7FFFFFFF is specified, then the location can be updated forever. Otherwise, the new value must not exceed the current live_period by more than a day, and the live location expiration date must remain within the next 90 days. If not specified, then live_period remains unchanged |
longitude | number | Yes | — | Longitude of new location |
message_id | integer | No | — | Required if inline_message_id is not specified. Identifier of the message to edit |
proximity_alert_radius | integer | No | — | The maximum distance for proximity alerts about approaching another chat member, in meters. Must be between 1 and 100000 if specified. |
reply_markup | object | No | — | This object represents an inline keyboard that appears right next to the message it belongs to. |
telegram_content_edit_message_media
DescribeseditMessageMedia method
Parameters:
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
chat_id | string | No | — | Required if inline_message_id is not specified. Unique identifier for the target chat or username of the target channel (in the format @channelusername) Pass as a numeric string (e.g., “-100123456789”) or @username. |
inline_message_id | string | No | — | Required if chat_id and message_id are not specified. Identifier of the inline message |
media | object | Yes | — | This object represents the content of a media message to be sent. It should be one of - InputMediaAnimation - InputMediaDocument - InputMediaAudio - InputMediaPhoto - InputMediaVideo |
message_id | integer | No | — | Required if inline_message_id is not specified. Identifier of the message to edit |
reply_markup | object | No | — | This object represents an inline keyboard that appears right next to the message it belongs to. |
telegram_content_edit_message_reply_markup
DescribeseditMessageReplyMarkup method
Parameters:
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
chat_id | string | No | — | Required if inline_message_id is not specified. Unique identifier for the target chat or username of the target channel (in the format @channelusername) Pass as a numeric string (e.g., “-100123456789”) or @username. |
inline_message_id | string | No | — | Required if chat_id and message_id are not specified. Identifier of the inline message |
message_id | integer | No | — | Required if inline_message_id is not specified. Identifier of the message to edit |
reply_markup | object | No | — | This object represents an inline keyboard that appears right next to the message it belongs to. |
telegram_content_edit_message_text
DescribeseditMessageText method
Parameters:
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
chat_id | string | No | — | Required if inline_message_id is not specified. Unique identifier for the target chat or username of the target channel (in the format @channelusername) Pass as a numeric string (e.g., “-100123456789”) or @username. |
entities | object[] | No | — | A JSON-serialized list of special entities that appear in message text, which can be specified instead of parse_mode |
inline_message_id | string | No | — | Required if chat_id and message_id are not specified. Identifier of the inline message |
link_preview_options | object | No | — | Describes the options used for link preview generation. |
message_id | integer | No | — | Required if inline_message_id is not specified. Identifier of the message to edit |
parse_mode | string | No | — | Mode for parsing entities in the message text. See formatting options for more details. |
reply_markup | object | No | — | This object represents an inline keyboard that appears right next to the message it belongs to. |
text | string | Yes | — | New text of the message, 1-4096 characters after entities parsing |
telegram_content_get_custom_emoji_stickers
DescribesgetCustomEmojiStickers method
Parameters:
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
custom_emoji_ids | string[] | Yes | — | A JSON-serialized list of custom emoji identifiers. At most 200 custom emoji identifiers can be specified. |
telegram_content_get_game_high_scores
DescribesgetGameHighScores method
Parameters:
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
chat_id | integer | No | — | Required if inline_message_id is not specified. Unique identifier for the target chat |
inline_message_id | string | No | — | Required if chat_id and message_id are not specified. Identifier of the inline message |
message_id | integer | No | — | Required if inline_message_id is not specified. Identifier of the sent message |
user_id | integer | Yes | — | Target user id |
telegram_content_get_sticker_set
DescribesgetStickerSet method
Parameters:
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
name | string | Yes | — | Name of the sticker set |
telegram_content_refund_star_payment
DescribesrefundStarPayment method
Parameters:
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
telegram_payment_charge_id | string | Yes | — | Telegram payment identifier |
user_id | integer | Yes | — | Identifier of the user whose payment will be refunded |
telegram_content_replace_sticker_in_set
DescribesreplaceStickerInSet method
Parameters:
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
name | string | Yes | — | Sticker set name |
old_sticker | string | Yes | — | File identifier of the replaced sticker |
sticker | object | Yes | — | This object describes a sticker to be added to a sticker set. |
user_id | integer | Yes | — | User identifier of the sticker set owner |
telegram_content_send_game
DescribessendGame method
Parameters:
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
business_connection_id | string | No | — | Unique identifier of the business connection on behalf of which the message will be sent |
chat_id | integer | Yes | — | Unique identifier for the target chat |
disable_notification | boolean | No | — | Sends the message silently. Users will receive a notification with no sound. |
game_short_name | string | Yes | — | Short name of the game, serves as the unique identifier for the game. Set up your games via @BotFather. |
message_effect_id | string | No | — | Unique identifier of the message effect to be added to the message; for private chats only |
message_thread_id | integer | No | — | Unique identifier for the target message thread (topic) of the forum; for forum supergroups only |
protect_content | boolean | No | — | Protects the contents of the sent message from forwarding and saving |
reply_markup | object | No | — | This object represents an inline keyboard that appears right next to the message it belongs to. |
reply_parameters | object | No | — | Describes reply parameters for the message that is being sent. |
telegram_content_send_invoice
DescribessendInvoice method
Parameters:
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
chat_id | string | Yes | — | Unique identifier for the target chat or username of the target channel (in the format @channelusername) Pass as a numeric string (e.g., “-100123456789”) or @username. |
currency | string | Yes | — | Three-letter ISO 4217 currency code, see more on currencies. Pass “XTR” for payments in Telegram Stars. |
description | string | Yes | — | Product description, 1-255 characters |
disable_notification | boolean | No | — | Sends the message silently. Users will receive a notification with no sound. |
is_flexible | boolean | No | — | Pass True if the final price depends on the shipping method. Ignored for payments in Telegram Stars. |
max_tip_amount | integer | No | — | The maximum accepted amount for tips in the smallest units of the currency (integer, not float/double). For example, for a maximum tip of US$ 1.45 pass max_tip_amount = 145. See the exp parameter in currencies.json, it shows the number of digits past the decimal point for each currency (2 for the majority of currencies). Defaults to 0. Not supported for payments in Telegram Stars. |
message_effect_id | string | No | — | Unique identifier of the message effect to be added to the message; for private chats only |
message_thread_id | integer | No | — | Unique identifier for the target message thread (topic) of the forum; for forum supergroups only |
need_email | boolean | No | — | Pass True if you require the user’s email address to complete the order. Ignored for payments in Telegram Stars. |
need_name | boolean | No | — | Pass True if you require the user’s full name to complete the order. Ignored for payments in Telegram Stars. |
need_phone_number | boolean | No | — | Pass True if you require the user’s phone number to complete the order. Ignored for payments in Telegram Stars. |
need_shipping_address | boolean | No | — | Pass True if you require the user’s shipping address to complete the order. Ignored for payments in Telegram Stars. |
payload | string | Yes | — | Bot-defined invoice payload, 1-128 bytes. This will not be displayed to the user, use for your internal processes. |
photo_height | integer | No | — | Photo height |
photo_size | integer | No | — | Photo size in bytes |
photo_url | string | No | — | URL of the product photo for the invoice. Can be a photo of the goods or a marketing image for a service. People like it better when they see what they are paying for. |
photo_width | integer | No | — | Photo width |
prices | object[] | Yes | — | Price breakdown, a JSON-serialized list of components (e.g. product price, tax, discount, delivery cost, delivery tax, bonus, etc.). Must contain exactly one item for payments in Telegram Stars. |
protect_content | boolean | No | — | Protects the contents of the sent message from forwarding and saving |
provider_data | string | No | — | JSON-serialized data about the invoice, which will be shared with the payment provider. A detailed description of required fields should be provided by the payment provider. |
provider_token | string | No | — | Payment provider token, obtained via @BotFather. Pass an empty string for payments in Telegram Stars. |
reply_markup | object | No | — | This object represents an inline keyboard that appears right next to the message it belongs to. |
reply_parameters | object | No | — | Describes reply parameters for the message that is being sent. |
send_email_to_provider | boolean | No | — | Pass True if the user’s email address should be sent to the provider. Ignored for payments in Telegram Stars. |
send_phone_number_to_provider | boolean | No | — | Pass True if the user’s phone number should be sent to the provider. Ignored for payments in Telegram Stars. |
start_parameter | string | No | — | Unique deep-linking parameter. If left empty, forwarded copies of the sent message will have a Pay button, allowing multiple users to pay directly from the forwarded message, using the same invoice. If non-empty, forwarded copies of the sent message will have a URL button with a deep link to the bot (instead of a Pay button), with the value used as the start parameter |
suggested_tip_amounts | integer[] | No | — | A JSON-serialized array of suggested amounts of tips in the smallest units of the currency (integer, not float/double). At most 4 suggested tip amounts can be specified. The suggested tip amounts must be positive, passed in a strictly increased order and must not exceed max_tip_amount. |
title | string | Yes | — | Product name, 1-32 characters |
telegram_content_send_sticker
DescribessendSticker method
Parameters:
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
business_connection_id | string | No | — | Unique identifier of the business connection on behalf of which the message will be sent |
chat_id | string | Yes | — | Unique identifier for the target chat or username of the target channel (in the format @channelusername) Pass as a numeric string (e.g., “-100123456789”) or @username. |
disable_notification | boolean | No | — | Sends the message silently. Users will receive a notification with no sound. |
emoji | string | No | — | Emoji associated with the sticker; only for just uploaded stickers |
message_effect_id | string | No | — | Unique identifier of the message effect to be added to the message; for private chats only |
message_thread_id | integer | No | — | Unique identifier for the target message thread (topic) of the forum; for forum supergroups only |
protect_content | boolean | No | — | Protects the contents of the sent message from forwarding and saving |
reply_markup | object | No | — | Additional interface options. A JSON-serialized object for an inline keyboard, custom reply keyboard, instructions to remove a reply keyboard or to force a reply from the user |
reply_parameters | object | No | — | Describes reply parameters for the message that is being sent. |
sticker | string | Yes | — | Sticker to send. Pass a file_id as String to send a file that exists on the Telegram servers (recommended), pass an HTTP URL as a String for Telegram to get a .WEBP sticker from the Internet, or upload a new .WEBP, .TGS, or .WEBM sticker using multipart/form-data. More information on Sending Files ». Video and animated stickers can’t be sent via an HTTP URL. |
telegram_content_set_custom_emoji_sticker_set_thumbnail
DescribessetCustomEmojiStickerSetThumbnail method
Parameters:
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
custom_emoji_id | string | No | — | Custom emoji identifier of a sticker from the sticker set; pass an empty string to drop the thumbnail and use the first sticker as the thumbnail. |
name | string | Yes | — | Sticker set name |
telegram_content_set_game_score
DescribessetGameScore method
Parameters:
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
chat_id | integer | No | — | Required if inline_message_id is not specified. Unique identifier for the target chat |
disable_edit_message | boolean | No | — | Pass True if the game message should not be automatically edited to include the current scoreboard |
force | boolean | No | — | Pass True if the high score is allowed to decrease. This can be useful when fixing mistakes or banning cheaters |
inline_message_id | string | No | — | Required if chat_id and message_id are not specified. Identifier of the inline message |
message_id | integer | No | — | Required if inline_message_id is not specified. Identifier of the sent message |
score | integer | Yes | — | New score, must be non-negative |
user_id | integer | Yes | — | User identifier |
telegram_content_set_passport_data_errors
DescribessetPassportDataErrors method
Parameters:
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
errors | object[] | Yes | — | A JSON-serialized array describing the errors |
user_id | integer | Yes | — | User identifier |
telegram_content_set_sticker_emoji_list
DescribessetStickerEmojiList method
Parameters:
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
emoji_list | string[] | Yes | — | A JSON-serialized list of 1-20 emoji associated with the sticker |
sticker | string | Yes | — | File identifier of the sticker |
telegram_content_set_sticker_keywords
DescribessetStickerKeywords method
Parameters:
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
keywords | string[] | No | — | A JSON-serialized list of 0-20 search keywords for the sticker with total length of up to 64 characters |
sticker | string | Yes | — | File identifier of the sticker |
telegram_content_set_sticker_mask_position
DescribessetStickerMaskPosition method
Parameters:
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
mask_position | object | No | — | This object describes the position on faces where a mask should be placed by default. |
sticker | string | Yes | — | File identifier of the sticker |
telegram_content_set_sticker_position_in_set
DescribessetStickerPositionInSet method
Parameters:
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
position | integer | Yes | — | New sticker position in the set, zero-based |
sticker | string | Yes | — | File identifier of the sticker |
telegram_content_set_sticker_set_thumbnail
DescribessetStickerSetThumbnail method
Parameters:
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
format | string | Yes | — | Format of the thumbnail, must be one of “static” for a .WEBP or .PNG image, “animated” for a .TGS animation, or “video” for a WEBM video |
name | string | Yes | — | Sticker set name |
thumbnail | string | No | — | A .WEBP or .PNG image with the thumbnail, must be up to 128 kilobytes in size and have a width and height of exactly 100px, or a .TGS animation with a thumbnail up to 32 kilobytes in size (see https://core.telegram.org/stickers#animated-sticker-requirements for animated sticker technical requirements), or a WEBM video with the thumbnail up to 32 kilobytes in size; see https://core.telegram.org/stickers#video-sticker-requirements for video sticker technical requirements. Pass a file_id as a String to send a file that already exists on the Telegram servers, pass an HTTP URL as a String for Telegram to get a file from the Internet, or upload a new one using multipart/form-data. More information on Sending Files ». Animated and video sticker set thumbnails can’t be uploaded via HTTP URL. If omitted, then the thumbnail is dropped and the first sticker is used as the thumbnail. |
user_id | integer | Yes | — | User identifier of the sticker set owner |
telegram_content_set_sticker_set_title
DescribessetStickerSetTitle method
Parameters:
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
name | string | Yes | — | Sticker set name |
title | string | Yes | — | Sticker set title, 1-64 characters |
telegram_content_stop_message_live_location
DescribesstopMessageLiveLocation method
Parameters:
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
chat_id | string | No | — | Required if inline_message_id is not specified. Unique identifier for the target chat or username of the target channel (in the format @channelusername) Pass as a numeric string (e.g., “-100123456789”) or @username. |
inline_message_id | string | No | — | Required if chat_id and message_id are not specified. Identifier of the inline message |
message_id | integer | No | — | Required if inline_message_id is not specified. Identifier of the message with live location to stop |
reply_markup | object | No | — | This object represents an inline keyboard that appears right next to the message it belongs to. |
telegram_content_stop_poll
DescribesstopPoll method
Parameters:
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
chat_id | string | Yes | — | Unique identifier for the target chat or username of the target channel (in the format @channelusername) Pass as a numeric string (e.g., “-100123456789”) or @username. |
message_id | integer | Yes | — | Identifier of the original message with the poll |
reply_markup | object | No | — | This object represents an inline keyboard that appears right next to the message it belongs to. |
telegram_content_upload_sticker_file
DescribesuploadStickerFile method
Parameters:
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
sticker | string | Yes | — | This object represents the contents of a file to be uploaded. Must be posted using multipart/form-data in the usual way that files are uploaded via the browser. |
sticker_format | string | Yes | — | Format of the sticker, must be one of “static”, “animated”, “video” |
user_id | integer | Yes | — | User identifier of sticker file owner |

