'aaa-_bbb_ccc,
                  
                  
                      file_unique_id: 'aa_bbb',
                  
                  
                      file_size: 84792,
                  
                  
                      width: 1280,
                  
                  
                      height: 720
                  
                  
                    }
                  
                  
                  ]
                  
                  
                  Как отправить фото по id? Какое id нужно использовать?
                  
                  
                  ctx.replyWithPhoto({
                  
                  
                      chat_id: ctx.update.message.chat.id,
                  
                  
                      photo: 'aa_bbb',
                  
                  
                      caption: 'replyWithPhoto by id_file'
                  
                  
                    })
                  
                  
                
Нужно использовать file_id https://core.telegram.org/bots/api#sendphoto
почему-то не работает, ошибка: Error: 400: Bad Request: wrong remote file identifier specified: Wrong character in the string
Обсуждают сегодня