take_message


Description:

[ Version ( deprecated = true , since = "0.7.21" ) ]
public void take_message (uint part, string key, Message message)

Warning: take_message is deprecated.

Set key in part part of this to have message as an aa{sv} value (that is, an array of Message_Part), and take ownership of message.

Note:

since 0.13.9.

Use tp_cm_message_take_message

The caller should not use message after passing it to this function. All handle references owned by message will subsequently belong to and be released with this.

Parameters:

this

a TpCMMessage

part

a part number, which must be strictly less than the number returned by count_parts

key

a key in the mapping representing the part

message

another (distinct) message created for the same BaseConnection