This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"OCR": { | |
"serial": "0241456789", | |
"firstname": "Александра", | |
"surname": "Александрова", | |
"secondname": "Александровна", | |
"pob": "Петропавловск", | |
"birthday": "22.03.1987", | |
"date1": "12.03.2013", | |
"gender": "Ж" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# This one downloading tracks from namba's playlists | |
# Need some customisation. And it fears whitespaces | |
# | |
# Author: Gen1us2k | |
# Thanks: | |
# - Romanius for support | |
# - Google for some useful methods | |
# | |
tmpfile=$(mktemp /tmp/namba_XXXXXX) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
msg := tgbotapi.NewAudioUpload(ChatID, "tests/audio.mp3") | |
msg.Title = "TEST" | |
msg.Duration = 10 | |
msg.Performer = "TEST" | |
msg.MimeType = "audio/mpeg" | |
msg.FileSize = 688 | |
_, err := bot.Send(msg) | |
if err != nil { | |
t.Error(err) |
NewerOlder