Comments 3
Здравствуйте!
Никогда не слышал о таком, но идея классная!
А почему так странно payload передаете?
Можно же работать с обычными питоновскими словарями и data=json.dumps(payload_dict) или даже json = payload_dict передавать в запрос
А в целом — код для статей лучше публиковать в Gitlab/Github…
not "phone_number" in content or not "room_name" in content or not "caller_id" in contentimport operator as op
get_required_fields = op.getitem('phone_number', 'room_name', 'caller_id')
if not any(get_required_fields(content)):
...Sign up to leave a comment.
Реализация аудиоконференций в Telegram + Asterisk