NAME
Telegram::Bot::Object::Base - The base class for all Telegram::Bot::Object objects.
VERSION
version 0.020
DESCRIPTION
This class should not be instantiated itself. Instead, instantiate a sub-class.
You should generally not need to instantiate objects of sub-classes of Telegram::Bot::Object::Base, instead the appropriate objects will be created from an incoming request via Telegram::Bot::Brain.
You can then use the methods referenced below on those objects.
METHODS
arrays
Should be overridden by subclasses, returning an array listing of which fields for the object are arrays.
array_of_arrays
Should be overridden by subclasses, returning an array listing od which fields for the object are arrays of arrays.
create_from_hash
Create an object of the appropriate class, including any sub-objects of other types, as needed.
as_hashref
Return this object as a hashref.
AUTHOR
Justin Hawkins <justin@eatmorecode.com>
COPYRIGHT AND LICENSE
This software is copyright (c) 2019 by Justin Hawkins.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.