<?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_set_media_id</id>
	<title>Truxton message participant set media id - 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_set_media_id"/>
	<link rel="alternate" type="text/html" href="https://truxwiki.com/index.php?title=Truxton_message_participant_set_media_id&amp;action=history"/>
	<updated>2026-09-09T18:30:40Z</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_set_media_id&amp;diff=10773&amp;oldid=prev</id>
		<title>Sam: Created page with &quot;This sets the globally unique identifier of the media this message participant came from.  =Syntax= &lt;source lang=&quot;C&quot;&gt; void truxton_message_participant_set_media_id( uint64_t p...&quot;</title>
		<link rel="alternate" type="text/html" href="https://truxwiki.com/index.php?title=Truxton_message_participant_set_media_id&amp;diff=10773&amp;oldid=prev"/>
		<updated>2026-02-18T10:54:12Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;This sets the globally unique identifier of the media this message participant came from.  =Syntax= &amp;lt;source lang=&amp;quot;C&amp;quot;&amp;gt; void truxton_message_participant_set_media_id( uint64_t p...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This sets the globally unique identifier of the media this message participant came from.&lt;br /&gt;
&lt;br /&gt;
=Syntax=&lt;br /&gt;
&amp;lt;source lang=&amp;quot;C&amp;quot;&amp;gt;&lt;br /&gt;
void truxton_message_participant_set_media_id( uint64_t participant_handle, char const * id );&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Parameters=&lt;br /&gt;
==&amp;lt;code&amp;gt;participant_handle&amp;lt;/code&amp;gt;==&lt;br /&gt;
This handle comes from calling &amp;lt;code&amp;gt;[[truxton_message_participant_create]]()&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==&amp;lt;code&amp;gt;id&amp;lt;/code&amp;gt;==&lt;br /&gt;
The globally unique identifier of the media.&lt;br /&gt;
This corresponds to the &amp;lt;code&amp;gt;[MediaID]&amp;lt;/code&amp;gt; column of the &amp;lt;code&amp;gt;[Message]&amp;lt;/code&amp;gt; table.&lt;br /&gt;
&lt;br /&gt;
=Sample=&lt;br /&gt;
&amp;lt;source lang=&amp;quot;C&amp;quot; highlight=&amp;quot;6&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>