<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://truxwiki.com/index.php?action=history&amp;feed=atom&amp;title=Truxton_message_participant_create</id>
	<title>Truxton message participant create - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://truxwiki.com/index.php?action=history&amp;feed=atom&amp;title=Truxton_message_participant_create"/>
	<link rel="alternate" type="text/html" href="https://truxwiki.com/index.php?title=Truxton_message_participant_create&amp;action=history"/>
	<updated>2026-09-09T15:59:27Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.34.1</generator>
	<entry>
		<id>https://truxwiki.com/index.php?title=Truxton_message_participant_create&amp;diff=10761&amp;oldid=prev</id>
		<title>Sam: Created page with &quot;This creates a message participant object.  =Syntax= &lt;source lang=&quot;C&quot;&gt; uint64_t truxton_message_participant_create( uint64_t truxton_handle ); &lt;/source&gt;  =Parameters= ==&lt;code&gt;...&quot;</title>
		<link rel="alternate" type="text/html" href="https://truxwiki.com/index.php?title=Truxton_message_participant_create&amp;diff=10761&amp;oldid=prev"/>
		<updated>2026-02-17T10:52:51Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;This creates a message participant object.  =Syntax= &amp;lt;source lang=&amp;quot;C&amp;quot;&amp;gt; uint64_t truxton_message_participant_create( uint64_t truxton_handle ); &amp;lt;/source&amp;gt;  =Parameters= ==&amp;lt;code&amp;gt;...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This creates a message participant object.&lt;br /&gt;
&lt;br /&gt;
=Syntax=&lt;br /&gt;
&amp;lt;source lang=&amp;quot;C&amp;quot;&amp;gt;&lt;br /&gt;
uint64_t truxton_message_participant_create( uint64_t truxton_handle );&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Parameters=&lt;br /&gt;
==&amp;lt;code&amp;gt;truxton_handle&amp;lt;/code&amp;gt;==&lt;br /&gt;
The Truxton instance this address will belong.&lt;br /&gt;
This handle comes from calling &amp;lt;code&amp;gt;[[truxton_create]]()&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=Return value=&lt;br /&gt;
A handle to a message participant object.&lt;br /&gt;
&lt;br /&gt;
=Sample=&lt;br /&gt;
&amp;lt;source lang=&amp;quot;C&amp;quot; highlight=&amp;quot;3&amp;quot;&amp;gt;&lt;br /&gt;
void process_participant_result(uint64_t truxton, PGresult * result, int row_number)&lt;br /&gt;
{&lt;br /&gt;
    uint64_t participant_handle = truxton_message_participant_create(truxton);&lt;br /&gt;
&lt;br /&gt;
    truxton_message_participant_set_id(participant_handle, ::PQgetvalue(result, row_number, 0));&lt;br /&gt;
    truxton_message_participant_set_media_id(participant_handle, ::PQgetvalue(result, row_number, 1));&lt;br /&gt;
    truxton_message_participant_set_file_id(participant_handle, ::PQgetvalue(result, row_number, 2));&lt;br /&gt;
    truxton_message_participant_set_message_address_id(participant_handle, ::PQgetvalue(result, row_number, 3));&lt;br /&gt;
    truxton_message_participant_set_message_id(participant_handle, ::PQgetvalue(result, row_number, 4));&lt;br /&gt;
    truxton_message_participant_set_type(participant_handle, atoi(result, row_number, 5));&lt;br /&gt;
    truxton_message_participant_set_account(participant_handle, ::PQgetvalue(result, row_number, 7));&lt;br /&gt;
    truxton_message_participant_set_server(participant_handle, ::PQgetvalue(result, row_number, 8));&lt;br /&gt;
    truxton_message_participant_set_name(participant_handle, ::PQgetvalue(result, row_number, 9));&lt;br /&gt;
&lt;br /&gt;
    dump(participant_handle);&lt;br /&gt;
&lt;br /&gt;
    truxton_message_participant_destroy(participant_handle);&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Sam</name></author>
		
	</entry>
</feed>