-
Notifications
You must be signed in to change notification settings - Fork 30
Bubble Properties
#####This reference page contains properties that can be read from ALL Bubble objects.
#####For a list of specialized bubbles and their properties, check out this page.
##Status
BubbleStatus bubble.StatusIs equal to Sent if the bubble was sent correctly.
Is equal to Delivered if the bubble was delivered.
Is equal to Waiting if the bubble is waiting to be sent.
Is equal to Failed if sending the bubble failed.
Example:
status = bubble.Status;
//status is now equal to Sent##Message
string bubble.MessageContains the message of the bubble.
Example:
message = bubble.Message;
//direction is now equal to Hello World!##Time
long bubble.TimeContains the timestamp at which the bubble was created in the Epoch/Unix-Timestamp format.
Example:
timestamp = bubble.Time;
//timestamp is now equal to 1446035271##Direction
BubbleDirection bubble.DirectionContains the direction which the bubble is in. Possible values are:
Incoming for incoming bubbles, Outgoing for outgoing bubbles
Example:
direction = bubble.Direction;
//direction is now equal to Incoming##Address
string bubble.AddressContains the address of the bubble.
Example:
address = bubble.Address;
//address is now equal to 12345##Participant Address
string bubble.ParticipantAddressContains the address of the bubble participant.
Example:
paddress = bubble.ParticipantAddress;
//paddress is now equal to 67890##Party
bool bubble.PartyContains information if the bubble is part of a party or not.
Example:
is_party = bubble.Party;
//is_party is now equal to false##Service
Service bubble.ServiceContains the service which the bubble was sent with.
Example:
service = bubble.Service;
//service is now equal to Disa.Framework.WackyMessenger.WackyMessenger© The Disa Open Source Project
If you have any questions please contact opensource@disa.im!
