парсер
This commit is contained in:
@@ -1443,9 +1443,13 @@ func (s *PurchaseOptionalDetails) sendCreativeWithInviteLink(
|
||||
if len(creative.Buttons) > 0 {
|
||||
editor.Buttons = make([]InlineButton, 0, len(creative.Buttons))
|
||||
for _, btn := range creative.Buttons {
|
||||
url := btn.URL
|
||||
if url == inviteLinkPlaceholder {
|
||||
url = inviteLink
|
||||
}
|
||||
editor.Buttons = append(editor.Buttons, InlineButton{
|
||||
Text: btn.Text,
|
||||
URL: btn.URL,
|
||||
URL: url,
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user