ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Communication / Google functions / Google Contacts
  • Properties specific to gglInstantMessaging variables
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
gglInstantMessaging (Variable type)
In french: gglMessagerieInstantanée
The gglInstantMessaging type is used to describe and modify the characteristics of an instant messaging program used by a contact.
This type of variable is used by the gglContact type.
Note: For more details on the declaration of this type of variable and the use of WLanguage properties, see Declaring a variable.
Example
// Connexion à Google
Cnx is gglConnection
Cnx.Email = "balthazar@gmail.com"
Cnx.Password = "azerty"
Cnx.ApplicationName = "MonAppli-01"
IF GglConnect(Cnx) = False THEN
	Error(ErrorInfo())
END

...

// Récupération du tableau des contacts
tabContacts is array of gglContact
tabContacts = GglListContact(Cnx)

// Affichage des données de messagerie instantanée du premier contact
MonContact is gglContact = tabContacts[1]
Mess is gglInstantMessaging dynamic
FOR EACH Mess OF MonContact.InstantMessaging
	Trace(Mess.Caption + " : " + Mess.Address)
END
Properties

Properties specific to gglInstantMessaging variables

The following properties can be used to handle gglInstantMessaging variables:
Property nameType used Effect
AddressCharacter stringAddress of contact on the instant messaging.
CaptionCharacter stringCaption for describing the address.
MessagingInteger constantType of instant messaging. Can correspond to one of the following constants:
  • gglAIM messaging: AIM messaging
  • gglGoogleTalk messaging: Google Messaging
  • gglICQ messaging: ICQ messaging
  • gglJabber messaging: Jabber messaging
  • gglMSN messaging: MSN messaging
  • gglQQ messaging: QQ messaging
  • gglSkype messaging: Skype messaging
  • gglYahoo messaging: Yahoo messaging
PrimaryBoolean
  • True if the address corresponds to the main address of the contact,
  • False otherwise.
TypeInteger constantType of the address corresponding to one of the following variables:
  • gglOther: Neither home nor work address.
  • gglBureau: Business address.
  • gglHome: Home address.
Minimum version required
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/20/2024

Send a report | Local help