groups.addMedia

Syntax

array groups.addMedia ( int groupID, int mediaID, int position = 0 )

Argument Info

NameTypeRequiredDefault valueDescription
groupIDintRequirednoneThe group ID that the media will be added to.
mediaIDintRequirednoneThe media ID that is going to be added to the group.
positionintOptional0The position of the media if group media requires specific order, default = 0

Response

The response for a successful request will be 1.

NameTypeDescription
resultINTOn success the response will be 1.

Return Values

FieldDescriptionPossible Values