MadelineProtoDocs/old_docs/API_docs_v25/constructors/geoChat.md
Daniil Gentili f73c175203 Update docs
2018-12-26 01:56:50 +00:00

1.7 KiB

title description image
geoChat Geo chat https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: geoChat

Back to constructors index

Geo chat

Attributes:

Name Type Required Description
id int Yes ID
access_hash long Yes Access hash
title string Yes Title
address string Yes Address
venue string Yes Venue
geo GeoPoint Optional Geo
photo ChatPhoto Optional Photo
participants_count int Yes Participants count
date int Yes Date
checked_in Bool Yes Checked in?
version int Yes Version

Type: Chat

Example:

$geoChat = ['_' => 'geoChat', 'id' => int, 'access_hash' => long, 'title' => 'string', 'address' => 'string', 'venue' => 'string', 'geo' => GeoPoint, 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'checked_in' => Bool, 'version' => int];

PWRTelegram json-encoded version:

{"_": "geoChat", "id": int, "access_hash": long, "title": "string", "address": "string", "venue": "string", "geo": GeoPoint, "photo": ChatPhoto, "participants_count": int, "date": int, "checked_in": Bool, "version": int}

Or, if you're into Lua:

geoChat={_='geoChat', id=int, access_hash=long, title='string', address='string', venue='string', geo=GeoPoint, photo=ChatPhoto, participants_count=int, date=int, checked_in=Bool, version=int}