get_sms_length_async


Description:

[ Version ( since = "0.15.1" ) ]
public async bool get_sms_length_async (Message message, out uint chunks_required, out int remaining_characters, out int estimated_cost) throws Error

Starts an async call to get the number of 140 octet chunks required to send a message via SMS on self, as well as the number of remaining characters available in the final chunk and, if possible, an estimate of the cost.

Once the request has been satisfied, callback will be called. You can then call get_sms_length_async.end to get the result of the operation.

Parameters:

this

a TextChannel

message

a ClientMessage

callback

a callback to call when the request has been satisfied

user_data

data to pass to callback




2022 vala-language.org