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

1.2 KiB

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

Constructor: geoChatMessage

Back to constructors index

Geo chat message

Attributes:

Name Type Required Description
chat_id int Yes Chat ID
id int Yes ID
from_id int Yes From ID
date int Yes Date
message string Yes Message
media MessageMedia Optional Media

Type: GeoChatMessage

Example:

$geoChatMessage = ['_' => 'geoChatMessage', 'chat_id' => int, 'id' => int, 'from_id' => int, 'date' => int, 'message' => 'string', 'media' => MessageMedia];

PWRTelegram json-encoded version:

{"_": "geoChatMessage", "chat_id": int, "id": int, "from_id": int, "date": int, "message": "string", "media": MessageMedia}

Or, if you're into Lua:

geoChatMessage={_='geoChatMessage', chat_id=int, id=int, from_id=int, date=int, message='string', media=MessageMedia}