# TScenarioRunResponse:
Features {
}
ResponseBody {
  Layout {
    Cards {
      Text: "Входящий звонок от Маша Силантьева"
    }
    OutputSpeech: "Входящий звонок от Маша Силантьева"
    Directives {
      ShowViewDirective {
        Name: "external_skill__show_view"
        Layer {
          Alarm {
          }
        }
        DoNotShowCloseButton: true
        CardId: "video_call.incoming_call.card.id"
        ActionSpaceId: "video_call.incoming_call.action_space_id"
      }
    }
    Directives {
      TtsPlayPlaceholderDirective {
      }
    }
  }
  AnalyticsInfo {
    Intent: "alice_scenarios.video_call_incoming"
    ProductScenarioName: "video_call"
  }
  FrameActions {
    key: "accept_incoming_call"
    value {
      NluHint {
        FrameName: "alice.messenger_call.accept_incoming_call"
      }
      Directives {
        List {
          AcceptVideoCallDirective {
            TelegramAcceptVideoCallData {
              CallOwnerData {
                CallId: "incoming_video_call_id"
                UserId: "1111"
              }
              OnFailCallback {
                fields {
                  key: "analytics"
                  value {
                    struct_value {
                      fields {
                        key: "origin"
                        value {
                          string_value: "Scenario"
                        }
                      }
                      fields {
                        key: "product_scenario"
                        value {
                          string_value: "video_call"
                        }
                      }
                      fields {
                        key: "purpose"
                        value {
                          string_value: "video_call_incoming_accept_failed"
                        }
                      }
                    }
                  }
                }
                fields {
                  key: "typed_semantic_frame"
                  value {
                    struct_value {
                      fields {
                        key: "video_call_incoming_accept_failed_semantic_frame"
                        value {
                          struct_value {
                            fields {
                              key: "call_id"
                              value {
                                struct_value {
                                  fields {
                                    key: "string_value"
                                    value {
                                      string_value: "incoming_video_call_id"
                                    }
                                  }
                                }
                              }
                            }
                            fields {
                              key: "provider"
                              value {
                                struct_value {
                                  fields {
                                    key: "enum_value"
                                    value {
                                      string_value: "Telegram"
                                    }
                                  }
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
            Name: "video_call__accept_incoming_video_call"
          }
        }
        List {
          ShowViewDirective {
            Name: "external_skill__show_view"
            Div2Card {
              Body {
                fields {
                  key: "card"
                  value {
                    struct_value {
                      fields {
                        key: "log_id"
                        value {
                          string_value: "telegram_call_screen"
                        }
                      }
                      fields {
                        key: "states"
                        value {
                          list_value {
                            values {
                              struct_value {
                                fields {
                                  key: "div"
                                  value {
                                    struct_value {
                                      fields {
                                        key: "height"
                                        value {
                                          struct_value {
                                            fields {
                                              key: "type"
                                              value {
                                                string_value: "match_parent"
                                              }
                                            }
                                          }
                                        }
                                      }
                                      fields {
                                        key: "items"
                                        value {
                                          list_value {
                                            values {
                                              struct_value {
                                                fields {
                                                  key: "alignment_horizontal"
                                                  value {
                                                    string_value: "left"
                                                  }
                                                }
                                                fields {
                                                  key: "alignment_vertical"
                                                  value {
                                                    string_value: "top"
                                                  }
                                                }
                                                fields {
                                                  key: "custom_props"
                                                  value {
                                                    struct_value {
                                                      fields {
                                                        key: "id"
                                                        value {
                                                          string_value: "incoming_video_call_id"
                                                        }
                                                      }
                                                    }
                                                  }
                                                }
                                                fields {
                                                  key: "custom_type"
                                                  value {
                                                    string_value: "telegram_call"
                                                  }
                                                }
                                                fields {
                                                  key: "extensions"
                                                  value {
                                                    list_value {
                                                      values {
                                                        struct_value {
                                                          fields {
                                                            key: "id"
                                                            value {
                                                              string_value: "telegram-call"
                                                            }
                                                          }
                                                        }
                                                      }
                                                    }
                                                  }
                                                }
                                                fields {
                                                  key: "height"
                                                  value {
                                                    struct_value {
                                                      fields {
                                                        key: "type"
                                                        value {
                                                          string_value: "match_parent"
                                                        }
                                                      }
                                                    }
                                                  }
                                                }
                                                fields {
                                                  key: "type"
                                                  value {
                                                    string_value: "custom"
                                                  }
                                                }
                                                fields {
                                                  key: "width"
                                                  value {
                                                    struct_value {
                                                      fields {
                                                        key: "type"
                                                        value {
                                                          string_value: "match_parent"
                                                        }
                                                      }
                                                    }
                                                  }
                                                }
                                              }
                                            }
                                          }
                                        }
                                      }
                                      fields {
                                        key: "orientation"
                                        value {
                                          string_value: "overlap"
                                        }
                                      }
                                      fields {
                                        key: "type"
                                        value {
                                          string_value: "container"
                                        }
                                      }
                                      fields {
                                        key: "width"
                                        value {
                                          struct_value {
                                            fields {
                                              key: "type"
                                              value {
                                                string_value: "match_parent"
                                              }
                                            }
                                          }
                                        }
                                      }
                                    }
                                  }
                                }
                                fields {
                                  key: "state_id"
                                  value {
                                    number_value: 0.0
                                  }
                                }
                              }
                            }
                          }
                        }
                      }
                      fields {
                        key: "variables"
                        value {
                          list_value {
                            values {
                              struct_value {
                                fields {
                                  key: "name"
                                  value {
                                    string_value: "bindToCall"
                                  }
                                }
                                fields {
                                  key: "type"
                                  value {
                                    string_value: "bool_int"
                                  }
                                }
                                fields {
                                  key: "value"
                                  value {
                                    number_value: 1.0
                                  }
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
                fields {
                  key: "templates"
                  value {
                    struct_value {
                    }
                  }
                }
              }
            }
            Layer {
              Content {
              }
            }
            DoNotShowCloseButton: true
            ActionSpaceId: "video_call.current_call.action_space_id"
          }
        }
        List {
          HideViewDirective {
            Name: "hide_view"
            Layer {
              Alarm {
              }
            }
          }
        }
      }
    }
  }
  FrameActions {
    key: "discard_incoming_call"
    value {
      NluHint {
        FrameName: "alice.messenger_call.stop_incoming_call"
      }
      Directives {
        List {
          DiscardVideoCallDirective {
            TelegramDiscardVideoCallData {
              CallOwnerData {
                CallId: "incoming_video_call_id"
                UserId: "1111"
              }
            }
            Name: "video_call__discard_incoming_video_call"
          }
        }
      }
    }
  }
}
Version: "trunk@******"
