O
O
osliktv2016-01-28 13:05:49
Classmates
osliktv, 2016-01-28 13:05:49

Why doesn't mediatopic.post want to send a text message to a group?

Hello,
I'm trying to send a test message to my group. I have rights
in the parameters I send:
gid - group id
attachment - {"media":[{"type":"text","text":"my text"}]}
to which I get this error:
100PARAM : Parameter ' gid' must be empty3gid
if gid is removed, it tries to send the user to STREAM.
tell me how the attachment should look in order for this to work?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vjacheslav Kanivetc, 2016-01-28
@osliktv

To publish posts to a group, in addition to the group ID, you must specify the type of media topic ( type=GROUP_THEME )

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question