Overview

Namespaces

  • LINE
    • LINEBot
      • Constant
      • Event
        • MessageEvent
        • Parser
      • Exception
      • HTTPClient
      • ImagemapActionBuilder
      • MessageBuilder
        • Imagemap
        • TemplateBuilder
      • TemplateActionBuilder

Classes

  • AudioMessage
  • FileMessage
  • ImageMessage
  • LocationMessage
  • StickerMessage
  • TextMessage
  • UnknownMessage
  • VideoMessage
  • Overview
  • Namespace
  • Class

Class FileMessage

A class that represents the message event of file.

LINE\LINEBot\Event\BaseEvent
Extended by LINE\LINEBot\Event\MessageEvent
Extended by LINE\LINEBot\Event\MessageEvent\FileMessage
Namespace: LINE\LINEBot\Event\MessageEvent
Package: LINE\LINEBot\Event\MessageEvent
Located at LINEBot/Event/MessageEvent/FileMessage.php
Methods summary
public
# __construct( array $event )

FileMessage constructor.

FileMessage constructor.

Parameters

$event

Overrides

LINE\LINEBot\Event\MessageEvent::__construct()
public string
# getFileName( )

Returns filename of the file message.

Returns filename of the file message.

Returns

string
public string
# getFileSize( )

Returns filesize of the file message.

Returns filesize of the file message.

Returns

string
Methods inherited from LINE\LINEBot\Event\MessageEvent
getMessageId(), getMessageType()
Methods inherited from LINE\LINEBot\Event\BaseEvent
getEventSourceId(), getGroupId(), getReplyToken(), getRoomId(), getTimestamp(), getType(), getUserId(), isGroupEvent(), isRoomEvent(), isUnknownEvent(), isUserEvent()
Properties inherited from LINE\LINEBot\Event\MessageEvent
$message
Properties inherited from LINE\LINEBot\Event\BaseEvent
$event
line-bot-sdk-php API documentation generated by ApiGen