add_media


Description:

public Result add_media (Media media)

Adds media to the array of medias in this.

This function takes ownership of the contents of media so that media will have to be reinitialized with init before it can be used again.

Parameters:

this

a Message

media

a Media to add

Returns:

a Result.