[Solved] Default value for select in message menu

Summary
Cannot set selected value for selection in message menu.

Steps to reproduce
I’m trying send message menu with drop down and want to render default value.
Request:

{
   "channel_id":"i1fin18be7bydf4onc17tpy8nr",
   "message":"Start thread",
   "root_id":"tha68596htdr8dg1gd7ehwmw3r",
   "props":{
      "attachments":[
         {
            "text":"Это обращение?",
            "fallback":"Статус обращения",
            "actions":[
               {
                  "name":"name",
                  "type":"select",
                  "data_source":"None",
                  "default":"opt1",  # DEFAULT VALUE DOESN'T WORK
                  "placeholder":"placeholder",
                  "integration":{
                     "url":"http://host.docker.internal:8000/support-bot/api/v1/status",
                     "context":{
                        "action":"do_something"
                     }
                  },
                  "options":[
                     {
                        "text":"Option1",
                        "value":"opt1"
                     },
                     {
                        "text":"Option2",
                        "value":"opt2"
                     },
                     {
                        "text":"Option3",
                        "value":"opt3"
                     }
                  ]
               },
               {
                  "name":"name",
                  "type":"select",
                  "data_source":"users",
                  "default": "",
                  "placeholder":"placeholder",
                  "integration":{
                     "url":"http://host.docker.internal:8000/support-bot/api/v1/status",
                     "context":{
                        "action":"do_something"
                     }
                  }
               }
            ]
         }
      ]
   }
}

I’m receiving correct menu, but without selected value.

Expected behavior
Setting default value for selection

I’m found a solution: Should use field default_option instead of default

Yay! Glad to hear you got it figured out, nmzgnv!

Thanks so much for following up to let us know, and welcome to the Mattermost community forums!