Use this method to send a group of photos
Use this method to send a group of photos, videos, documents or audios as an album. Documents and audio files can be only grouped in an album with messages of the same type. On success, an array of Messages that were sent is returned.
Body
Required
-
Sends messages silently. Users will receive a notification with no sound.
-
If the messages are a reply, ID of the original message
-
Pass True, if the message should be sent even if the specified replied-to message is not found
POST
/sendMediaGroup
curl \
-X POST https://api.telegram.org/bot123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11/sendMediaGroup \
-H "Content-Type: multipart/form-data" \
-F "chat_id=42" \
-F "media[]={"type"=>"string", "media"=>"string", "caption"=>"string", "parse_mode"=>"string", "caption_entities"=>[{"type"=>"mention", "offset"=>42, "length"=>42, "url"=>"string", "user"=>{"id"=>42, "is_bot"=>true, "first_name"=>"string", "last_name"=>"string", "username"=>"string", "language_code"=>"string", "can_join_groups"=>true, "can_read_all_group_messages"=>true, "supports_inline_queries"=>true}, "language"=>"string"}], "duration"=>42, "performer"=>"string", "title"=>"string"}" \
-F "disable_notification=true" \
-F "reply_to_message_id=42" \
-F "allow_sending_without_reply=true"
Request example
{
"chat_id": 42,
"media": [
{
"type": "string",
"media": "string",
"caption": "string",
"parse_mode": "string",
"caption_entities": [
{
"type": "mention",
"offset": 42,
"length": 42,
"url": "string",
"user": {
"id": 42,
"is_bot": true,
"first_name": "string",
"last_name": "string",
"username": "string",
"language_code": "string",
"can_join_groups": true,
"can_read_all_group_messages": true,
"supports_inline_queries": true
},
"language": "string"
}
],
"duration": 42,
"performer": "string",
"title": "string"
}
],
"disable_notification": true,
"reply_to_message_id": 42,
"allow_sending_without_reply": true
}
Request examples
{
"chat_id": 42,
"media": [
{
"type": "string",
"media": "string",
"caption": "string",
"parse_mode": "string",
"caption_entities": [
{
"type": "mention",
"offset": 42,
"length": 42,
"url": "string",
"user": {
"id": 42,
"is_bot": true,
"first_name": "string",
"last_name": "string",
"username": "string",
"language_code": "string",
"can_join_groups": true,
"can_read_all_group_messages": true,
"supports_inline_queries": true
},
"language": "string"
}
],
"duration": 42,
"performer": "string",
"title": "string"
}
],
"disable_notification": true,
"reply_to_message_id": 42,
"allow_sending_without_reply": true
}
Response examples (default)
{
"ok": false,
"error_code": 42,
"description": "string",
"parameters": {
"migrate_to_chat_id": 42,
"retry_after": 42
}
}
Response examples (default)
{
"ok": false,
"error_code": 42,
"description": "string",
"parameters": {
"migrate_to_chat_id": 42,
"retry_after": 42
}
}
Response examples (200)
{
"ok": true,
"result": [
{
"message_id": 42,
"from": {
"id": 42,
"is_bot": true,
"first_name": "string",
"last_name": "string",
"username": "string",
"language_code": "string",
"can_join_groups": true,
"can_read_all_group_messages": true,
"supports_inline_queries": true
},
"sender_chat": {
"id": 42,
"type": "private",
"title": "string",
"username": "string",
"first_name": "string",
"last_name": "string",
"photo": {
"small_file_id": "string",
"small_file_unique_id": "string",
"big_file_id": "string",
"big_file_unique_id": "string"
},
"bio": "string",
"description": "string",
"invite_link": "string",
"pinned_message": {},
"permissions": {
"can_send_messages": true,
"can_send_media_messages": true,
"can_send_polls": true,
"can_send_other_messages": true,
"can_add_web_page_previews": true,
"can_change_info": true,
"can_invite_users": true,
"can_pin_messages": true
},
"slow_mode_delay": 42,
"sticker_set_name": "string",
"can_set_sticker_set": true,
"linked_chat_id": 42,
"location": {
"location": {
"longitude": 42.0,
"latitude": 42.0,
"horizontal_accuracy": 42.0,
"live_period": 42,
"heading": 42,
"proximity_alert_radius": 42
},
"address": "string"
}
},
"date": 42,
"chat": {
"id": 42,
"type": "private",
"title": "string",
"username": "string",
"first_name": "string",
"last_name": "string",
"photo": {
"small_file_id": "string",
"small_file_unique_id": "string",
"big_file_id": "string",
"big_file_unique_id": "string"
},
"bio": "string",
"description": "string",
"invite_link": "string",
"pinned_message": {},
"permissions": {
"can_send_messages": true,
"can_send_media_messages": true,
"can_send_polls": true,
"can_send_other_messages": true,
"can_add_web_page_previews": true,
"can_change_info": true,
"can_invite_users": true,
"can_pin_messages": true
},
"slow_mode_delay": 42,
"sticker_set_name": "string",
"can_set_sticker_set": true,
"linked_chat_id": 42,
"location": {
"location": {
"longitude": 42.0,
"latitude": 42.0,
"horizontal_accuracy": 42.0,
"live_period": 42,
"heading": 42,
"proximity_alert_radius": 42
},
"address": "string"
}
},
"forward_from": {
"id": 42,
"is_bot": true,
"first_name": "string",
"last_name": "string",
"username": "string",
"language_code": "string",
"can_join_groups": true,
"can_read_all_group_messages": true,
"supports_inline_queries": true
},
"forward_from_chat": {
"id": 42,
"type": "private",
"title": "string",
"username": "string",
"first_name": "string",
"last_name": "string",
"photo": {
"small_file_id": "string",
"small_file_unique_id": "string",
"big_file_id": "string",
"big_file_unique_id": "string"
},
"bio": "string",
"description": "string",
"invite_link": "string",
"pinned_message": {},
"permissions": {
"can_send_messages": true,
"can_send_media_messages": true,
"can_send_polls": true,
"can_send_other_messages": true,
"can_add_web_page_previews": true,
"can_change_info": true,
"can_invite_users": true,
"can_pin_messages": true
},
"slow_mode_delay": 42,
"sticker_set_name": "string",
"can_set_sticker_set": true,
"linked_chat_id": 42,
"location": {
"location": {
"longitude": 42.0,
"latitude": 42.0,
"horizontal_accuracy": 42.0,
"live_period": 42,
"heading": 42,
"proximity_alert_radius": 42
},
"address": "string"
}
},
"forward_from_message_id": 42,
"forward_signature": "string",
"forward_sender_name": "string",
"forward_date": 42,
"reply_to_message": {},
"via_bot": {
"id": 42,
"is_bot": true,
"first_name": "string",
"last_name": "string",
"username": "string",
"language_code": "string",
"can_join_groups": true,
"can_read_all_group_messages": true,
"supports_inline_queries": true
},
"edit_date": 42,
"media_group_id": "string",
"author_signature": "string",
"text": "string",
"entities": [
{
"type": "mention",
"offset": 42,
"length": 42,
"url": "string",
"user": {
"id": 42,
"is_bot": true,
"first_name": "string",
"last_name": "string",
"username": "string",
"language_code": "string",
"can_join_groups": true,
"can_read_all_group_messages": true,
"supports_inline_queries": true
},
"language": "string"
}
],
"animation": {
"file_id": "string",
"file_unique_id": "string",
"width": 42,
"height": 42,
"duration": 42,
"thumb": {
"file_id": "string",
"file_unique_id": "string",
"width": 42,
"height": 42,
"file_size": 42
},
"file_name": "string",
"mime_type": "string",
"file_size": 42
},
"audio": {
"file_id": "string",
"file_unique_id": "string",
"duration": 42,
"performer": "string",
"title": "string",
"file_name": "string",
"mime_type": "string",
"file_size": 42,
"thumb": {
"file_id": "string",
"file_unique_id": "string",
"width": 42,
"height": 42,
"file_size": 42
}
},
"document": {
"file_id": "string",
"file_unique_id": "string",
"thumb": {
"file_id": "string",
"file_unique_id": "string",
"width": 42,
"height": 42,
"file_size": 42
},
"file_name": "string",
"mime_type": "string",
"file_size": 42
},
"photo": [
{
"file_id": "string",
"file_unique_id": "string",
"width": 42,
"height": 42,
"file_size": 42
}
],
"sticker": {
"file_id": "string",
"file_unique_id": "string",
"width": 42,
"height": 42,
"is_animated": true,
"thumb": {
"file_id": "string",
"file_unique_id": "string",
"width": 42,
"height": 42,
"file_size": 42
},
"emoji": "string",
"set_name": "string",
"mask_position": {
"point": "forehead",
"x_shift": 42.0,
"y_shift": 42.0,
"scale": 42.0
},
"file_size": 42
},
"video": {
"file_id": "string",
"file_unique_id": "string",
"width": 42,
"height": 42,
"duration": 42,
"thumb": {
"file_id": "string",
"file_unique_id": "string",
"width": 42,
"height": 42,
"file_size": 42
},
"file_name": "string",
"mime_type": "string",
"file_size": 42
},
"video_note": {
"file_id": "string",
"file_unique_id": "string",
"length": 42,
"duration": 42,
"thumb": {
"file_id": "string",
"file_unique_id": "string",
"width": 42,
"height": 42,
"file_size": 42
},
"file_size": 42
},
"voice": {
"file_id": "string",
"file_unique_id": "string",
"duration": 42,
"mime_type": "string",
"file_size": 42
},
"caption": "string",
"caption_entities": [
{
"type": "mention",
"offset": 42,
"length": 42,
"url": "string",
"user": {
"id": 42,
"is_bot": true,
"first_name": "string",
"last_name": "string",
"username": "string",
"language_code": "string",
"can_join_groups": true,
"can_read_all_group_messages": true,
"supports_inline_queries": true
},
"language": "string"
}
],
"contact": {
"phone_number": "string",
"first_name": "string",
"last_name": "string",
"user_id": 42,
"vcard": "string"
},
"dice": {
"emoji": "string",
"value": 42
},
"game": {
"title": "string",
"description": "string",
"photo": [
{
"file_id": "string",
"file_unique_id": "string",
"width": 42,
"height": 42,
"file_size": 42
}
],
"text": "string",
"text_entities": [
{
"type": "mention",
"offset": 42,
"length": 42,
"url": "string",
"user": {
"id": 42,
"is_bot": true,
"first_name": "string",
"last_name": "string",
"username": "string",
"language_code": "string",
"can_join_groups": true,
"can_read_all_group_messages": true,
"supports_inline_queries": true
},
"language": "string"
}
],
"animation": {
"file_id": "string",
"file_unique_id": "string",
"width": 42,
"height": 42,
"duration": 42,
"thumb": {
"file_id": "string",
"file_unique_id": "string",
"width": 42,
"height": 42,
"file_size": 42
},
"file_name": "string",
"mime_type": "string",
"file_size": 42
}
},
"poll": {
"id": "string",
"question": "string",
"options": [
{
"text": "string",
"voter_count": 42
}
],
"total_voter_count": 42,
"is_closed": true,
"is_anonymous": true,
"type": "string",
"allows_multiple_answers": true,
"correct_option_id": 42,
"explanation": "string",
"explanation_entities": [
{
"type": "mention",
"offset": 42,
"length": 42,
"url": "string",
"user": {
"id": 42,
"is_bot": true,
"first_name": "string",
"last_name": "string",
"username": "string",
"language_code": "string",
"can_join_groups": true,
"can_read_all_group_messages": true,
"supports_inline_queries": true
},
"language": "string"
}
],
"open_period": 42,
"close_date": 42
},
"venue": {
"location": {
"longitude": 42.0,
"latitude": 42.0,
"horizontal_accuracy": 42.0,
"live_period": 42,
"heading": 42,
"proximity_alert_radius": 42
},
"title": "string",
"address": "string",
"foursquare_id": "string",
"foursquare_type": "string",
"google_place_id": "string",
"google_place_type": "string"
},
"location": {
"longitude": 42.0,
"latitude": 42.0,
"horizontal_accuracy": 42.0,
"live_period": 42,
"heading": 42,
"proximity_alert_radius": 42
},
"new_chat_members": [
{
"id": 42,
"is_bot": true,
"first_name": "string",
"last_name": "string",
"username": "string",
"language_code": "string",
"can_join_groups": true,
"can_read_all_group_messages": true,
"supports_inline_queries": true
}
],
"left_chat_member": {
"id": 42,
"is_bot": true,
"first_name": "string",
"last_name": "string",
"username": "string",
"language_code": "string",
"can_join_groups": true,
"can_read_all_group_messages": true,
"supports_inline_queries": true
},
"new_chat_title": "string",
"new_chat_photo": [
{
"file_id": "string",
"file_unique_id": "string",
"width": 42,
"height": 42,
"file_size": 42
}
],
"delete_chat_photo": true,
"group_chat_created": true,
"supergroup_chat_created": true,
"channel_chat_created": true,
"migrate_to_chat_id": 42,
"migrate_from_chat_id": 42,
"pinned_message": {},
"invoice": {
"title": "string",
"description": "string",
"start_parameter": "string",
"currency": "string",
"total_amount": 42
},
"successful_payment": {
"currency": "string",
"total_amount": 42,
"invoice_payload": "string",
"shipping_option_id": "string",
"order_info": {
"name": "string",
"phone_number": "string",
"email": "string",
"shipping_address": {
"country_code": "string",
"state": "string",
"city": "string",
"street_line1": "string",
"street_line2": "string",
"post_code": "string"
}
},
"telegram_payment_charge_id": "string",
"provider_payment_charge_id": "string"
},
"connected_website": "string",
"passport_data": {
"data": [
{
"type": "personal_details",
"data": "string",
"phone_number": "string",
"email": "string",
"files": [
{
"file_id": "string",
"file_unique_id": "string",
"file_size": 42,
"file_date": 42
}
],
"front_side": {
"file_id": "string",
"file_unique_id": "string",
"file_size": 42,
"file_date": 42
},
"reverse_side": {
"file_id": "string",
"file_unique_id": "string",
"file_size": 42,
"file_date": 42
},
"selfie": {
"file_id": "string",
"file_unique_id": "string",
"file_size": 42,
"file_date": 42
},
"translation": [
{
"file_id": "string",
"file_unique_id": "string",
"file_size": 42,
"file_date": 42
}
],
"hash": "string"
}
],
"credentials": {
"data": "string",
"hash": "string",
"secret": "string"
}
},
"proximity_alert_triggered": {
"traveler": {
"id": 42,
"is_bot": true,
"first_name": "string",
"last_name": "string",
"username": "string",
"language_code": "string",
"can_join_groups": true,
"can_read_all_group_messages": true,
"supports_inline_queries": true
},
"watcher": {
"id": 42,
"is_bot": true,
"first_name": "string",
"last_name": "string",
"username": "string",
"language_code": "string",
"can_join_groups": true,
"can_read_all_group_messages": true,
"supports_inline_queries": true
},
"distance": 42
},
"reply_markup": {
"": [
[
{}
]
]
}
}
]
}
Response examples (200)
{
"ok": true,
"result": [
{
"message_id": 42,
"from": {
"id": 42,
"is_bot": true,
"first_name": "string",
"last_name": "string",
"username": "string",
"language_code": "string",
"can_join_groups": true,
"can_read_all_group_messages": true,
"supports_inline_queries": true
},
"sender_chat": {
"id": 42,
"type": "private",
"title": "string",
"username": "string",
"first_name": "string",
"last_name": "string",
"photo": {
"small_file_id": "string",
"small_file_unique_id": "string",
"big_file_id": "string",
"big_file_unique_id": "string"
},
"bio": "string",
"description": "string",
"invite_link": "string",
"pinned_message": {},
"permissions": {
"can_send_messages": true,
"can_send_media_messages": true,
"can_send_polls": true,
"can_send_other_messages": true,
"can_add_web_page_previews": true,
"can_change_info": true,
"can_invite_users": true,
"can_pin_messages": true
},
"slow_mode_delay": 42,
"sticker_set_name": "string",
"can_set_sticker_set": true,
"linked_chat_id": 42,
"location": {
"location": {
"longitude": 42.0,
"latitude": 42.0,
"horizontal_accuracy": 42.0,
"live_period": 42,
"heading": 42,
"proximity_alert_radius": 42
},
"address": "string"
}
},
"date": 42,
"chat": {
"id": 42,
"type": "private",
"title": "string",
"username": "string",
"first_name": "string",
"last_name": "string",
"photo": {
"small_file_id": "string",
"small_file_unique_id": "string",
"big_file_id": "string",
"big_file_unique_id": "string"
},
"bio": "string",
"description": "string",
"invite_link": "string",
"pinned_message": {},
"permissions": {
"can_send_messages": true,
"can_send_media_messages": true,
"can_send_polls": true,
"can_send_other_messages": true,
"can_add_web_page_previews": true,
"can_change_info": true,
"can_invite_users": true,
"can_pin_messages": true
},
"slow_mode_delay": 42,
"sticker_set_name": "string",
"can_set_sticker_set": true,
"linked_chat_id": 42,
"location": {
"location": {
"longitude": 42.0,
"latitude": 42.0,
"horizontal_accuracy": 42.0,
"live_period": 42,
"heading": 42,
"proximity_alert_radius": 42
},
"address": "string"
}
},
"forward_from": {
"id": 42,
"is_bot": true,
"first_name": "string",
"last_name": "string",
"username": "string",
"language_code": "string",
"can_join_groups": true,
"can_read_all_group_messages": true,
"supports_inline_queries": true
},
"forward_from_chat": {
"id": 42,
"type": "private",
"title": "string",
"username": "string",
"first_name": "string",
"last_name": "string",
"photo": {
"small_file_id": "string",
"small_file_unique_id": "string",
"big_file_id": "string",
"big_file_unique_id": "string"
},
"bio": "string",
"description": "string",
"invite_link": "string",
"pinned_message": {},
"permissions": {
"can_send_messages": true,
"can_send_media_messages": true,
"can_send_polls": true,
"can_send_other_messages": true,
"can_add_web_page_previews": true,
"can_change_info": true,
"can_invite_users": true,
"can_pin_messages": true
},
"slow_mode_delay": 42,
"sticker_set_name": "string",
"can_set_sticker_set": true,
"linked_chat_id": 42,
"location": {
"location": {
"longitude": 42.0,
"latitude": 42.0,
"horizontal_accuracy": 42.0,
"live_period": 42,
"heading": 42,
"proximity_alert_radius": 42
},
"address": "string"
}
},
"forward_from_message_id": 42,
"forward_signature": "string",
"forward_sender_name": "string",
"forward_date": 42,
"reply_to_message": {},
"via_bot": {
"id": 42,
"is_bot": true,
"first_name": "string",
"last_name": "string",
"username": "string",
"language_code": "string",
"can_join_groups": true,
"can_read_all_group_messages": true,
"supports_inline_queries": true
},
"edit_date": 42,
"media_group_id": "string",
"author_signature": "string",
"text": "string",
"entities": [
{
"type": "mention",
"offset": 42,
"length": 42,
"url": "string",
"user": {
"id": 42,
"is_bot": true,
"first_name": "string",
"last_name": "string",
"username": "string",
"language_code": "string",
"can_join_groups": true,
"can_read_all_group_messages": true,
"supports_inline_queries": true
},
"language": "string"
}
],
"animation": {
"file_id": "string",
"file_unique_id": "string",
"width": 42,
"height": 42,
"duration": 42,
"thumb": {
"file_id": "string",
"file_unique_id": "string",
"width": 42,
"height": 42,
"file_size": 42
},
"file_name": "string",
"mime_type": "string",
"file_size": 42
},
"audio": {
"file_id": "string",
"file_unique_id": "string",
"duration": 42,
"performer": "string",
"title": "string",
"file_name": "string",
"mime_type": "string",
"file_size": 42,
"thumb": {
"file_id": "string",
"file_unique_id": "string",
"width": 42,
"height": 42,
"file_size": 42
}
},
"document": {
"file_id": "string",
"file_unique_id": "string",
"thumb": {
"file_id": "string",
"file_unique_id": "string",
"width": 42,
"height": 42,
"file_size": 42
},
"file_name": "string",
"mime_type": "string",
"file_size": 42
},
"photo": [
{
"file_id": "string",
"file_unique_id": "string",
"width": 42,
"height": 42,
"file_size": 42
}
],
"sticker": {
"file_id": "string",
"file_unique_id": "string",
"width": 42,
"height": 42,
"is_animated": true,
"thumb": {
"file_id": "string",
"file_unique_id": "string",
"width": 42,
"height": 42,
"file_size": 42
},
"emoji": "string",
"set_name": "string",
"mask_position": {
"point": "forehead",
"x_shift": 42.0,
"y_shift": 42.0,
"scale": 42.0
},
"file_size": 42
},
"video": {
"file_id": "string",
"file_unique_id": "string",
"width": 42,
"height": 42,
"duration": 42,
"thumb": {
"file_id": "string",
"file_unique_id": "string",
"width": 42,
"height": 42,
"file_size": 42
},
"file_name": "string",
"mime_type": "string",
"file_size": 42
},
"video_note": {
"file_id": "string",
"file_unique_id": "string",
"length": 42,
"duration": 42,
"thumb": {
"height": 42,
"file_id": "string",
"file_unique_id": "string",
"width": 42,
"file_size": 42
},
"file_size": 42
},
"voice": {
"file_id": "string",
"file_unique_id": "string",
"duration": 42,
"mime_type": "string",
"file_size": 42
},
"caption": "string",
"caption_entities": [
{
"type": "mention",
"offset": 42,
"length": 42,
"url": "string",
"user": {
"id": 42,
"is_bot": true,
"first_name": "string",
"last_name": "string",
"username": "string",
"language_code": "string",
"can_join_groups": true,
"can_read_all_group_messages": true,
"supports_inline_queries": true
},
"language": "string"
}
],
"contact": {
"phone_number": "string",
"first_name": "string",
"last_name": "string",
"user_id": 42,
"vcard": "string"
},
"dice": {
"emoji": "string",
"value": 42
},
"game": {
"title": "string",
"description": "string",
"photo": [
{
"file_id": "string",
"file_unique_id": "string",
"width": 42,
"height": 42,
"file_size": 42
}
],
"text": "string",
"text_entities": [
{
"type": "mention",
"offset": 42,
"length": 42,
"url": "string",
"user": {
"id": 42,
"is_bot": true,
"first_name": "string",
"last_name": "string",
"username": "string",
"language_code": "string",
"can_join_groups": true,
"can_read_all_group_messages": true,
"supports_inline_queries": true
},
"language": "string"
}
],
"animation": {
"file_id": "string",
"file_unique_id": "string",
"width": 42,
"height": 42,
"duration": 42,
"thumb": {
"file_id": "string",
"file_unique_id": "string",
"width": 42,
"height": 42,
"file_size": 42
},
"file_name": "string",
"mime_type": "string",
"file_size": 42
}
},
"poll": {
"id": "string",
"question": "string",
"options": [
{
"text": "string",
"voter_count": 42
}
],
"total_voter_count": 42,
"is_closed": true,
"is_anonymous": true,
"type": "string",
"allows_multiple_answers": true,
"correct_option_id": 42,
"explanation": "string",
"explanation_entities": [
{
"type": "mention",
"offset": 42,
"length": 42,
"url": "string",
"user": {
"id": 42,
"is_bot": true,
"first_name": "string",
"last_name": "string",
"username": "string",
"language_code": "string",
"can_join_groups": true,
"can_read_all_group_messages": true,
"supports_inline_queries": true
},
"language": "string"
}
],
"open_period": 42,
"close_date": 42
},
"venue": {
"location": {
"longitude": 42.0,
"latitude": 42.0,
"horizontal_accuracy": 42.0,
"live_period": 42,
"heading": 42,
"proximity_alert_radius": 42
},
"foursquare_id": "string",
"title": "string",
"address": "string",
"foursquare_type": "string",
"google_place_id": "string",
"google_place_type": "string"
},
"location": {
"longitude": 42.0,
"latitude": 42.0,
"horizontal_accuracy": 42.0,
"live_period": 42,
"heading": 42,
"proximity_alert_radius": 42
},
"new_chat_members": [
{
"id": 42,
"is_bot": true,
"first_name": "string",
"last_name": "string",
"username": "string",
"language_code": "string",
"can_join_groups": true,
"can_read_all_group_messages": true,
"supports_inline_queries": true
}
],
"left_chat_member": {
"id": 42,
"is_bot": true,
"first_name": "string",
"last_name": "string",
"username": "string",
"language_code": "string",
"can_join_groups": true,
"can_read_all_group_messages": true,
"supports_inline_queries": true
},
"new_chat_title": "string",
"new_chat_photo": [
{
"file_id": "string",
"file_unique_id": "string",
"width": 42,
"height": 42,
"file_size": 42
}
],
"delete_chat_photo": true,
"group_chat_created": true,
"supergroup_chat_created": true,
"channel_chat_created": true,
"migrate_to_chat_id": 42,
"migrate_from_chat_id": 42,
"pinned_message": {},
"invoice": {
"title": "string",
"description": "string",
"start_parameter": "string",
"currency": "string",
"total_amount": 42
},
"successful_payment": {
"currency": "string",
"total_amount": 42,
"invoice_payload": "string",
"shipping_option_id": "string",
"order_info": {
"name": "string",
"phone_number": "string",
"email": "string",
"shipping_address": {
"country_code": "string",
"state": "string",
"city": "string",
"street_line1": "string",
"street_line2": "string",
"post_code": "string"
}
},
"telegram_payment_charge_id": "string",
"provider_payment_charge_id": "string"
},
"connected_website": "string",
"passport_data": {
"data": [
{
"type": "personal_details",
"data": "string",
"phone_number": "string",
"email": "string",
"files": [
{
"file_id": "string",
"file_unique_id": "string",
"file_size": 42,
"file_date": 42
}
],
"front_side": {
"file_id": "string",
"file_unique_id": "string",
"file_size": 42,
"file_date": 42
},
"reverse_side": {
"file_id": "string",
"file_unique_id": "string",
"file_size": 42,
"file_date": 42
},
"selfie": {
"file_id": "string",
"file_unique_id": "string",
"file_size": 42,
"file_date": 42
},
"translation": [
{
"file_id": "string",
"file_unique_id": "string",
"file_size": 42,
"file_date": 42
}
],
"hash": "string"
}
],
"credentials": {
"data": "string",
"hash": "string",
"secret": "string"
}
},
"proximity_alert_triggered": {
"traveler": {
"id": 42,
"is_bot": true,
"first_name": "string",
"last_name": "string",
"username": "string",
"language_code": "string",
"can_join_groups": true,
"can_read_all_group_messages": true,
"supports_inline_queries": true
},
"watcher": {
"id": 42,
"is_bot": true,
"first_name": "string",
"last_name": "string",
"username": "string",
"language_code": "string",
"can_join_groups": true,
"can_read_all_group_messages": true,
"supports_inline_queries": true
},
"distance": 42
},
"reply_markup": {
"": [
[
{}
]
]
}
}
]
}