- Регистрация
- 23.09.2016
- Сообщения
- 204
- Благодарностей
- 7
- Баллы
- 18
Всем привет, нужна помощь, делаю бота в телеграме, нужно фотографии которые мне присылают в ответ, либо сохранить на пк, которые, либо отправить их сразу в пост телеграмм канала, подскажите как это можно осуществить. Заранее спасибо!
C#:
{"ok":true,"result":[{"update_id":279586054,
"message":{"message_id":89,"from":{"id":5422834965,"is_bot":false,"first_name":"Max","last_name":"AutoPark","username":"maxfiji","language_code":"ru"},"chat":{"id":5422834965,"first_name":"Max","last_name":"AutoPark","username":"maxfiji","type":"private"},"date":1714968137,"media_group_id":"13719745096781034","photo":[{"file_id":"AgACAgIAAxkBAANZZjhWSX3sl2SuTTqIkDjzqCMWHvoAAlTVMRuHX8lJnHbtksm7HEoBAAMCAANzAAM1BA","file_unique_id":"AQADVNUxG4dfyUl4","file_size":1626,"width":67,"height":90},{"file_id":"AgACAgIAAxkBAANZZjhWSX3sl2SuTTqIkDjzqCMWHvoAAlTVMRuHX8lJnHbtksm7HEoBAAMCAANtAAM1BA","file_unique_id":"AQADVNUxG4dfyUly","file_size":31378,"width":240,"height":320},{"file_id":"AgACAgIAAxkBAANZZjhWSX3sl2SuTTqIkDjzqCMWHvoAAlTVMRuHX8lJnHbtksm7HEoBAAMCAAN4AAM1BA","file_unique_id":"AQADVNUxG4dfyUl9","file_size":177504,"width":600,"height":800},{"file_id":"AgACAgIAAxkBAANZZjhWSX3sl2SuTTqIkDjzqCMWHvoAAlTVMRuHX8lJnHbtksm7HEoBAAMCAAN5AAM1BA","file_unique_id":"AQADVNUxG4dfyUl-","file_size":272907,"width":960,"height":1280}]}},{"update_id":279586055,
"message":{"message_id":90,"from":{"id":5422834965,"is_bot":false,"first_name":"Max","last_name":"AutoPark","username":"maxfiji","language_code":"ru"},"chat":{"id":5422834965,"first_name":"Max","last_name":"AutoPark","username":"maxfiji","type":"private"},"date":1714968137,"media_group_id":"13719745096781034","photo":[{"file_id":"AgACAgIAAxkBAANaZjhWSS9kkyp8sxhjg8k4SsCoEK4AAlXVMRuHX8lJT7Z_HKtualYBAAMCAANzAAM1BA","file_unique_id":"AQADVdUxG4dfyUl4","file_size":1671,"width":90,"height":67},{"file_id":"AgACAgIAAxkBAANaZjhWSS9kkyp8sxhjg8k4SsCoEK4AAlXVMRuHX8lJT7Z_HKtualYBAAMCAANtAAM1BA","file_unique_id":"AQADVdUxG4dfyUly","file_size":31125,"width":320,"height":240},{"file_id":"AgACAgIAAxkBAANaZjhWSS9kkyp8sxhjg8k4SsCoEK4AAlXVMRuHX8lJT7Z_HKtualYBAAMCAAN4AAM1BA","file_unique_id":"AQADVdUxG4dfyUl9","file_size":171206,"width":800,"height":600},{"file_id":"AgACAgIAAxkBAANaZjhWSS9kkyp8sxhjg8k4SsCoEK4AAlXVMRuHX8lJT7Z_HKtualYBAAMCAAN5AAM1BA","file_unique_id":"AQADVdUxG4dfyUl-","file_size":265028,"width":1280,"height":960}]}},{"update_id":279586056,
"message":{"message_id":91,"from":{"id":5422834965,"is_bot":false,"first_name":"Max","last_name":"AutoPark","username":"maxfiji","language_code":"ru"},"chat":{"id":5422834965,"first_name":"Max","last_name":"AutoPark","username":"maxfiji","type":"private"},"date":1714968137,"media_group_id":"13719745096781034","photo":[{"file_id":"AgACAgIAAxkBAANbZjhWScOF6OL0DCtB2P9KRw1Sm4EAAlbVMRuHX8lJ3oP_09pOvoIBAAMCAANzAAM1BA","file_unique_id":"AQADVtUxG4dfyUl4","file_size":1135,"width":67,"height":90},{"file_id":"AgACAgIAAxkBAANbZjhWScOF6OL0DCtB2P9KRw1Sm4EAAlbVMRuHX8lJ3oP_09pOvoIBAAMCAANtAAM1BA","file_unique_id":"AQADVtUxG4dfyUly","file_size":15095,"width":240,"height":320},{"file_id":"AgACAgIAAxkBAANbZjhWScOF6OL0DCtB2P9KRw1Sm4EAAlbVMRuHX8lJ3oP_09pOvoIBAAMCAAN4AAM1BA","file_unique_id":"AQADVtUxG4dfyUl9","file_size":74169,"width":600,"height":800},{"file_id":"AgACAgIAAxkBAANbZjhWScOF6OL0DCtB2P9KRw1Sm4EAAlbVMRuHX8lJ3oP_09pOvoIBAAMCAAN5AAM1BA","file_unique_id":"AQADVtUxG4dfyUl-","file_size":102352,"width":960,"height":1280}]}},{"update_id":279586057,
"message":{"message_id":92,"from":{"id":5422834965,"is_bot":false,"first_name":"Max","last_name":"AutoPark","username":"maxfiji","language_code":"ru"},"chat":{"id":5422834965,"first_name":"Max","last_name":"AutoPark","username":"maxfiji","type":"private"},"date":1714968137,"media_group_id":"13719745096781034","photo":[{"file_id":"AgACAgIAAxkBAANcZjhWSd1pDkYx4FNYVWMFDjaA7ucAAlfVMRuHX8lJwRwfdSWSxiYBAAMCAANzAAM1BA","file_unique_id":"AQADV9UxG4dfyUl4","file_size":1351,"width":90,"height":67},{"file_id":"AgACAgIAAxkBAANcZjhWSd1pDkYx4FNYVWMFDjaA7ucAAlfVMRuHX8lJwRwfdSWSxiYBAAMCAANtAAM1BA","file_unique_id":"AQADV9UxG4dfyUly","file_size":19392,"width":320,"height":240},{"file_id":"AgACAgIAAxkBAANcZjhWSd1pDkYx4FNYVWMFDjaA7ucAAlfVMRuHX8lJwRwfdSWSxiYBAAMCAAN4AAM1BA","file_unique_id":"AQADV9UxG4dfyUl9","file_size":91863,"width":800,"height":600},{"file_id":"AgACAgIAAxkBAANcZjhWSd1pDkYx4FNYVWMFDjaA7ucAAlfVMRuHX8lJwRwfdSWSxiYBAAMCAAN5AAM1BA","file_unique_id":"AQADV9UxG4dfyUl-","file_size":129739,"width":1280,"height":960}]}},{"update_id":279586058,
"message":{"message_id":93,"from":{"id":5422834965,"is_bot":false,"first_name":"Max","last_name":"AutoPark","username":"maxfiji","language_code":"ru"},"chat":{"id":5422834965,"first_name":"Max","last_name":"AutoPark","username":"maxfiji","type":"private"},"date":1714968137,"media_group_id":"13719745096781034","photo":[{"file_id":"AgACAgIAAxkBAANdZjhWSXe9Si_naPqyZloUPhV-rJ8AAljVMRuHX8lJtJTgDothhn8BAAMCAANzAAM1BA","file_unique_id":"AQADWNUxG4dfyUl4","file_size":1468,"width":90,"height":67},{"file_id":"AgACAgIAAxkBAANdZjhWSXe9Si_naPqyZloUPhV-rJ8AAljVMRuHX8lJtJTgDothhn8BAAMCAANtAAM1BA","file_unique_id":"AQADWNUxG4dfyUly","file_size":18488,"width":320,"height":240},{"file_id":"AgACAgIAAxkBAANdZjhWSXe9Si_naPqyZloUPhV-rJ8AAljVMRuHX8lJtJTgDothhn8BAAMCAAN4AAM1BA","file_unique_id":"AQADWNUxG4dfyUl9","file_size":86611,"width":800,"height":600},{"file_id":"AgACAgIAAxkBAANdZjhWSXe9Si_naPqyZloUPhV-rJ8AAljVMRuHX8lJtJTgDothhn8BAAMCAAN5AAM1BA","file_unique_id":"AQADWNUxG4dfyUl-","file_size":122427,"width":1280,"height":960}]}},{"update_id":279586059,
"message":{"message_id":94,"from":{"id":5422834965,"is_bot":false,"first_name":"Max","last_name":"AutoPark","username":"maxfiji","language_code":"ru"},"chat":{"id":5422834965,"first_name":"Max","last_name":"AutoPark","username":"maxfiji","type":"private"},"date":1714968137,"media_group_id":"13719745096781034","photo":[{"file_id":"AgACAgIAAxkBAANeZjhWSYE0u6P6rlGfrjwWrgyJX_sAAlnVMRuHX8lJkMFH-A60gF0BAAMCAANzAAM1BA","file_unique_id":"AQADWdUxG4dfyUl4","file_size":1712,"width":67,"height":90},{"file_id":"AgACAgIAAxkBAANeZjhWSYE0u6P6rlGfrjwWrgyJX_sAAlnVMRuHX8lJkMFH-A60gF0BAAMCAANtAAM1BA","file_unique_id":"AQADWdUxG4dfyUly","file_size":24986,"width":240,"height":320},{"file_id":"AgACAgIAAxkBAANeZjhWSYE0u6P6rlGfrjwWrgyJX_sAAlnVMRuHX8lJkMFH-A60gF0BAAMCAAN4AAM1BA","file_unique_id":"AQADWdUxG4dfyUl9","file_size":118128,"width":600,"height":800},{"file_id":"AgACAgIAAxkBAANeZjhWSYE0u6P6rlGfrjwWrgyJX_sAAlnVMRuHX8lJkMFH-A60gF0BAAMCAAN5AAM1BA","file_unique_id":"AQADWdUxG4dfyUl-","file_size":169212,"width":960,"height":1280}]}},{"update_id":279586060,
"message":{"message_id":95,"from":{"id":5422834965,"is_bot":false,"first_name":"Max","last_name":"AutoPark","username":"maxfiji","language_code":"ru"},"chat":{"id":5422834965,"first_name":"Max","last_name":"AutoPark","username":"maxfiji","type":"private"},"date":1714968137,"media_group_id":"13719745096781034","photo":[{"file_id":"AgACAgIAAxkBAANfZjhWSZX039vf3BiUOYijLpvjKSAAAlrVMRuHX8lJBIyprYZhec0BAAMCAANzAAM1BA","file_unique_id":"AQADWtUxG4dfyUl4","file_size":1855,"width":90,"height":67},{"file_id":"AgACAgIAAxkBAANfZjhWSZX039vf3BiUOYijLpvjKSAAAlrVMRuHX8lJBIyprYZhec0BAAMCAANtAAM1BA","file_unique_id":"AQADWtUxG4dfyUly","file_size":24673,"width":320,"height":240},{"file_id":"AgACAgIAAxkBAANfZjhWSZX039vf3BiUOYijLpvjKSAAAlrVMRuHX8lJBIyprYZhec0BAAMCAAN4AAM1BA","file_unique_id":"AQADWtUxG4dfyUl9","file_size":105908,"width":800,"height":600},{"file_id":"AgACAgIAAxkBAANfZjhWSZX039vf3BiUOYijLpvjKSAAAlrVMRuHX8lJBIyprYZhec0BAAMCAAN5AAM1BA","file_unique_id":"AQADWtUxG4dfyUl-","file_size":148254,"width":1280,"height":960}]}},{"update_id":279586061,
"message":{"message_id":96,"from":{"id":5422834965,"is_bot":false,"first_name":"Max","last_name":"AutoPark","username":"maxfiji","language_code":"ru"},"chat":{"id":5422834965,"first_name":"Max","last_name":"AutoPark","username":"maxfiji","type":"private"},"date":1714968137,"media_group_id":"13719745096781034","photo":[{"file_id":"AgACAgIAAxkBAANgZjhWScYb5D22X9H1YFnZLCCVd5wAAlvVMRuHX8lJe3BuP6S_1DEBAAMCAANzAAM1BA","file_unique_id":"AQADW9UxG4dfyUl4","file_size":1746,"width":67,"height":90},{"file_id":"AgACAgIAAxkBAANgZjhWScYb5D22X9H1YFnZLCCVd5wAAlvVMRuHX8lJe3BuP6S_1DEBAAMCAANtAAM1BA","file_unique_id":"AQADW9UxG4dfyUly","file_size":23540,"width":240,"height":320},{"file_id":"AgACAgIAAxkBAANgZjhWScYb5D22X9H1YFnZLCCVd5wAAlvVMRuHX8lJe3BuP6S_1DEBAAMCAAN4AAM1BA","file_unique_id":"AQADW9UxG4dfyUl9","file_size":104085,"width":600,"height":800},{"file_id":"AgACAgIAAxkBAANgZjhWScYb5D22X9H1YFnZLCCVd5wAAlvVMRuHX8lJe3BuP6S_1DEBAAMCAAN5AAM1BA","file_unique_id":"AQADW9UxG4dfyUl-","file_size":145168,"width":960,"height":1280}]}},{"update_id":279586062,
"message":{"message_id":97,"from":{"id":5422834965,"is_bot":false,"first_name":"Max","last_name":"AutoPark","username":"maxfiji","language_code":"ru"},"chat":{"id":5422834965,"first_name":"Max","last_name":"AutoPark","username":"maxfiji","type":"private"},"date":1714968137,"media_group_id":"13719745096781034","photo":[{"file_id":"AgACAgIAAxkBAANhZjhWScCN0FYdLpAIupGb7Ql3zzYAAlzVMRuHX8lJIdgvaf6n4JsBAAMCAANzAAM1BA","file_unique_id":"AQADXNUxG4dfyUl4","file_size":1812,"width":90,"height":67},{"file_id":"AgACAgIAAxkBAANhZjhWScCN0FYdLpAIupGb7Ql3zzYAAlzVMRuHX8lJIdgvaf6n4JsBAAMCAANtAAM1BA","file_unique_id":"AQADXNUxG4dfyUly","file_size":24514,"width":320,"height":240},{"file_id":"AgACAgIAAxkBAANhZjhWScCN0FYdLpAIupGb7Ql3zzYAAlzVMRuHX8lJIdgvaf6n4JsBAAMCAAN4AAM1BA","file_unique_id":"AQADXNUxG4dfyUl9","file_size":103710,"width":800,"height":600},{"file_id":"AgACAgIAAxkBAANhZjhWScCN0FYdLpAIupGb7Ql3zzYAAlzVMRuHX8lJIdgvaf6n4JsBAAMCAAN5AAM1BA","file_unique_id":"AQADXNUxG4dfyUl-","file_size":142342,"width":1280,"height":960}]}},{"update_id":279586063,
"message":{"message_id":98,"from":{"id":5422834965,"is_bot":false,"first_name":"Max","last_name":"AutoPark","username":"maxfiji","language_code":"ru"},"chat":{"id":5422834965,"first_name":"Max","last_name":"AutoPark","username":"maxfiji","type":"private"},"date":1714968137,"media_group_id":"13719745096781034","photo":[{"file_id":"AgACAgIAAxkBAANiZjhWSQm3EXpBWSv8Lb6Hqo189SsAAl3VMRuHX8lJuHSAuQ-Xzg4BAAMCAANzAAM1BA","file_unique_id":"AQADXdUxG4dfyUl4","file_size":1619,"width":67,"height":90},{"file_id":"AgACAgIAAxkBAANiZjhWSQm3EXpBWSv8Lb6Hqo189SsAAl3VMRuHX8lJuHSAuQ-Xzg4BAAMCAANtAAM1BA","file_unique_id":"AQADXdUxG4dfyUly","file_size":23167,"width":240,"height":320},{"file_id":"AgACAgIAAxkBAANiZjhWSQm3EXpBWSv8Lb6Hqo189SsAAl3VMRuHX8lJuHSAuQ-Xzg4BAAMCAAN4AAM1BA","file_unique_id":"AQADXdUxG4dfyUl9","file_size":106188,"width":600,"height":800},{"file_id":"AgACAgIAAxkBAANiZjhWSQm3EXpBWSv8Lb6Hqo189SsAAl3VMRuHX8lJuHSAuQ-Xzg4BAAMCAAN5AAM1BA","file_unique_id":"AQADXdUxG4dfyUl-","file_size":148579,"width":960,"height":1280}]}}]}