![javascript](https://habrastorage.org/r/w120/webt/59/cc/76/59cc7600c78a2239379574.jpeg)
JavaScript
4
Вклад в тег
If ActivePage.Layers("curves").Shapes.Count <> 0 Then
ActivePage.Layers("curves").Shapes.All.CreateSelection
ActiveSelection.Fill.ApplyNoFill
Dim s2 As Shape
Set s2 = ActiveSelection.Combine
s2.Style.StringAssign "{""outline"":{""width"":""762""}}"
ActivePage.Layers("curves").Shapes.All.CreateSelection
ActiveSelection.Outline.Color = CreateRGBColor(255, 0, 0)
s2.BreakApartEx
End If
// chatId - это Id, которое мы получаем способом выше
telegramApi.getHistory({
id: chatId,
type: 'user' // Вот этот параметр
}).then(function(e) {
// Делаем что-то с сообщениями
})